var pWindow;
var pathOfImg = "/images/";
var ns4up = (document.layers) ? 1 : 0;
var ie4up = (document.all) ? 1 : 0;

if (document.images)	{ 
	function buttonOn(tdid) {
		tdid.style.background="url(/images/navbar_highlight.gif)";
	}
	  
	function buttonOff(tdid) {
		tdid.style.background="url(/images/navbar_normal.gif)";
	}
}
function chkLoc(newLoc) {
	if (newLoc == '') return;
	document.location.href = newLoc;	
}
function popupWindow(url,parms) {
	if (pWindow && pWindow.open && !pWindow.closed) pWindow.close();
	pWindow=window.open(url,'pWindow',parms);
}
function moveBackground() {
	var doc_width;
	var doc_height;
	if (ns4up) {
		doc_width = self.innerWidth;
		doc_height = self.innerHeight;
	} else {
		doc_width = document.body.clientWidth;
		doc_height = document.body.scrollHeight;
	}
	document.getElementById("bluebackgroundfloat").style.left = ((doc_width-730)/2)-321;
	document.getElementById("greenbackgroundfloat").style.left = ((doc_width-730)/2)+730;
	document.getElementById("greenbackgroundfloat").style.width = ((doc_width-730)/2);
	document.getElementById("bluebackgroundfloat").style.height = doc_height;
	document.getElementById("greenbackgroundfloat").style.height = doc_height;
}





