initFunctions.push(printthispage);

function printthispage() {

	if( document.getElementById( "printpage" ) ) {
				var printLink = document.createElement( "A" );
				printLink.className = "printbutton";
				printLink.href = "javascript:window.print()";
				printLink.appendChild( document.createTextNode( "Print this page" ) );
				document.getElementById( "printpage" ).appendChild( printLink );
			}
		}
