function statusMsg() {
	window.status = windowstatusmsg;
	setTimeout("statusMsg()", 1000);	// milleseconds
}
function cleanWindow(wurl,wname,w,h,rs){
	myWindow=eval("window.open('" + wurl + "','" + wname + "','toolbar=no,location=no,directories=no,menubar=no,resizable="+rs+",scrollbars="+rs+",status=no,width="+w+",height="+h+"')")
	return false;
}
function swapImg(imgName,newImg){ 
	if ((navigator.appName == 'Netscape' && parseFloat(navigator.appVersion) >= 3) || (parseFloat(navigator.appVersion) >= 4)){
	 	eval('document.' + imgName + '.src = "' + newImg + '"');
	 }
}
function showLayer(layerName){
	if (document.getElementById) {
		// Level 1 DOM code
		eval('document.getElementById("'+layerName+'").style.visibility="visible"');
	}
	else if (document.all) {
		// Microsoft DOM code
		eval('document.all["'+layerName+'"].style.visibility="visible"');
	}
	else if (document.layers) {
		// Netscape DOM code
		eval('document.layers["'+layerName+'"].visibility="visible"');
	}
}	
function hideLayer(layerName){
	if (document.getElementById) {
		// Level 1 DOM code
		eval('document.getElementById("'+layerName+'").style.visibility="hidden"');
	}
	else if (document.all) {
		// Microsoft DOM code
		eval('document.all["'+layerName+'"].style.visibility="hidden"');
	}
	else if (document.layers) {
		// Netscape DOM code
		eval('document.layers["'+layerName+'"].visibility="hidden"');
	}
}

