// Set Footer Functionsfunction getWindowHeight() {	var windowHeight = 0;	if (typeof(window.innerHeight) == 'number') {		windowHeight = window.innerHeight;	}	else {		if (document.documentElement && document.documentElement.clientHeight) {			windowHeight = document.documentElement.clientHeight;		}		else {			if (document.body && document.body.clientHeight) {				windowHeight = document.body.clientHeight;			}		}	}	return windowHeight;}function setFooter() {	if (document.getElementById) {		var windowHeight = getWindowHeight();		if (windowHeight > 0) {			var contentHeight = document.getElementById('page').offsetHeight;			var footerElement = document.getElementById('footer-block');			var footerHeight  = footerElement.offsetHeight;			if (windowHeight - (contentHeight + footerHeight) >= 0) {				footerElement.style.position = 'relative';				footerElement.style.top = (windowHeight - (contentHeight + footerHeight)) + 'px';			}			else {				footerElement.style.position = 'static';			}		}	}}window.onload = function() {	setFooter();	rolloverInit();}window.onresize = function() {	setFooter();} function popup(url) {	popupWindow = window.open(url, "popupWin", "width=460,height=550,resizable=no,scrollbars=yes,toolbar=no,location=no")	popupWindow.focus()}// Dropdown Functions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"), "");		}	}}if (window.attachEvent) window.attachEvent("onload", sfHover);// Image Rolloversfunction rolloverInit() {	for (var i=0; i<document.images.length; i++) {		if (document.images[i].parentNode.tagName == "A") {			setupRollover(document.images[i]);		}	}}function setupRollover(thisImage) {	thisImage.outImage = new Image();	thisImage.outImage.src = thisImage.src;	thisImage.onmouseout = rollOut;	thisImage.overImage = new Image();	thisImage.overImage.src = "../images/" + thisImage.id + "-Over.gif";	thisImage.onmouseover = rollOver;	}function rollOver() {	this.src = this.overImage.src;}function rollOut() {	this.src = this.outImage.src;}