function changeFontSize(adjustment)  {
	if (!document.body.style.fontSize) {
		currentVal = "0.8em" 
	} else {
		currentVal = document.body.style.fontSize;   			// get the current font size
	}
	currentLen = currentVal.length - 2;          			// strip off the "em" suffix
	current = parseFloat(currentVal.substr(0,currentLen));  //  turn the value into a Float
	newSize = current + adjustment;                  		//   calculate the new font size
	document.body.style.fontSize = newSize + "em";          //  apply the new size
	
}

function printMe () {
	window.open(location.href+'?print=yes','_blank','','false');
}

function printThis() {
/*	window.print();  */
setTimeout("window.print()",3000)
}

// this script looks for the print parameter, if yes, then include the print style sheet
myUrl =  location.href;
params = myUrl.substr(myUrl.lastIndexOf("?")+1, myUrl.length);
printParam = myUrl.lastIndexOf('print');
printValue = "";

if (printParam > 0) {
	printValue = myUrl.substr(printParam+6,3);
	if (printValue == 'yes') {
		// root relative link to be adjusted during site installation.
		document.write('<link href="../css/print.css" rel="stylesheet" type="text/css" title="print-only" /> \n');
		window.onload = printThis;
/*		alert('Check this out');   */
	} 
}

/* script to make the suckerfish menu work for IE6 */
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");

			
		}
	}
}
