function mover(e){
	if (document.all){
		xref = event.srcElement;
	}else{
		xref = e.target;
	}
	if (xref){
		cursrc = xref.src;
		newsrc = cursrc.replace("1.gif","2.gif");
		xref.src = newsrc;
	}
}

function mout(e){
	if (document.all){
		xref = event.srcElement;
	}else{
		xref = e.target;
	}
	if (xref){
		cursrc = xref.src;
		newsrc = cursrc.replace("3.gif","2.gif");
		newsrc = newsrc.replace("2.gif","1.gif");
		xref.src = newsrc;
	}
}


//Function to get absolute reference to uniquely named object
function GetObjectRef(sRefName){
	if (document.layers){	//Netscape 4
		objRef = eval("document." + sRefName);
	}else{
		if (navigator.userAgent.indexOf("Opera") != -1){	//Opera
			objRef = eval("document.all." + sRefName);
		}else{
			if (document.all && !document.getElementById){	//IE 4
				objRef = eval("document.all." + sRefName);
			}else{
				if (document.getElementById){	//Netscape 6 or IE 5+
					objRef = document.getElementById(sRefName);
				}else{
					alert("This website uses DHTML and requires a DHTML-compliant browser.");
					objRef = false;
				}
			}
		}
	}
	
	return objRef;
}

function getPixelValue(sPixelValue0){
	sPixelValue = sPixelValue0;

	sPValue = sPixelValue.substr(sPixelValue.length - 2, 2);
	if (sPValue == "px"){
		sPixelValue = parseInt(sPixelValue.substr(0,sPixelValue.length - 2));
	}
	
	return sPixelValue;
}

function showwin(sURL,iwidth,iheight){
	if (iwidth == 0){
		iwidth = 640;
	}
	if (iheight == 0){
		iheight = 560;
	}
	xpos = (screen.availWidth - iwidth)/2;
	ypos = ((screen.availHeight - iheight)/2) - 50;
	
	swin = open(sURL,"swindow","toolbar=no,location=no,directories=no,dependent=yes," + 
		"status=no,menubar=yes,scrollbars=yes,resizable=yes,width=" + iwidth + ",height=" + iheight + ",top=" + ypos + ",left=" + xpos);
	swin.focus();
}