<!--
//===================================================================================================================
// Cross Browser DHTML Functions
//===================================================================================================================



// Pop-up Window
function popUp(theURL,width,height,more)
{	
	
    if (isExp)
        {var xMax = screen.width, yMax = screen.height;}
    else
        {var xMax = window.outerWidth, yMax = window.outerHeight;}
 
    //var xOffset = (xMax - 200)/2
    //var yOffset = (yMax - 200)/2;

	var yOffset = 200;
	var xOffset = 200;

	var popup=window.open(theURL,'popup','width='+width+',height='+height+',toolbar=0,menubar=0,screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+'');
	popup.focus();
}


function showLayer(which,how) {
	if (isNav || isExp) {
		eval ('document.'+pre+which+suf+'.visibility="'+how+'"');
		return;
	}
	else if (isW3C || isOpera) {
		obj=document.getElementById(which);
		obj.style.visibility=how;
	}
}


function swapClass(which,name) {
	if (isNav || isExp) {
		eval ('document.'+pre+which+'.className="'+name+'"');
		return;
	}
	else if (isW3C || isOpera) {
		obj=document.getElementById(which);
		obj.className=name;
	}
}


// Swap Image Srcvar lyrName;
function swapImg(imgObj, imgSrc, lyrName) {

	if (!lyrName) lyrName='';	if (isNav) {document[lyrName].document.images[imgObj].src = eval(imgObj + imgSrc + '.src');}
	else {document.images[imgObj].src = eval(imgObj + imgSrc + '.src');}

}//-->
