

var download_form = document.getElementById('download-pdf-form');
var submit_button = document.getElementById('pdf-submit');

// create link and make it mouseover with a hand
var link = document.createElement('a');
link.innerHTML = submit_button.value;
link.style.cursor = 'pointer';
link.onclick = function() {
						download_form.submit();
						return false;
					};

// create h1 tag
var h1 = document.createElement('h1');
h1.style.marginBottom = '30px';
h1.className = '';
h1.appendChild(link);

// replace the submit button
var p = download_form.getElementsByTagName('p');
p[p.length-1].replaceChild(h1, submit_button);


