// JavaScript Document

window.onload = run;

function run(){
	//grab the URL in the window's location bar
	var href = window.location.pathname;
	//split into an array of nested directories
	href = href.split("/");
	href = href[1].split(".");
	if (href[0]=="")
		href[0]="home";
	if (href[0]!="investor-login")
		if (href[0]!="investor-login2")
			document.getElementById("print").innerHTML += "<img src='images/print.jpg' width='23' height='17' align='absmiddle' /> <a href='pdf/" + href[0] + ".pdf'>Print Page</a> | <a href='pdf/all.pdf'>Print All</a>";
}
