if (navigator.appName == 'Netscape') {document.write('<link href="/webonizer_modules/style/nsmo.css" rel="stylesheet" />')}

function showMenu(theMenu){
     	eval('document.getElementById("'+theMenu+'").style.visibility = "visible";');
        hideSelects('hidden');
	 }
function hideMenu(theMenu){

string = 'document.getElementById("' + theMenu + '").style.visibility = "hidden";';
   eval(string);
   hideSelects('visible');
}

window.status=document.title;

function shrinkBanner(imgId,width){
 var findString = 'theImg=document.getElementById("'+imgId+'").width;';
 eval(findString);
 if(theImg>width){
 var findString2 = 'document.getElementById("'+imgId+'").width = '+width+';';
  eval(findString2);
 }

}

//function setDocumentVars(){
//
//if (self.innerWidth)
//	{
//		frameWidth = self.innerWidth;
//		frameHeight = self.innerHeight;
//	}
//	else if (document.documentElement && document.documentElement.clientWidth)
//	{
//		frameWidth = document.documentElement.clientWidth;
//		frameHeight = document.documentElement.clientHeight;
//	}
//	else if (document.body)
//	{
//		frameWidth = document.body.clientWidth;
//		frameHeight = document.body.clientHeight;
//	}
//
//
//newHeight = frameHeight - 150;
//newHeight = newHeight + 'px';
//changecss('.midHeight','height',newHeight);
//
//}

	function hideSelects(action) {
	//documentation for this script at http://www.shawnolson.net/topics/Javascript/
	if (action!='visible'){action='hidden';}
    if (atp_browser.isIE6x) {
	 for (var S = 0; S < document.forms.length; S++){
	  for (var R = 0; R < document.forms[S].length; R++) {
	   if (document.forms[S].elements[R].options) {
	    document.forms[S].elements[R].style.visibility = action;
	   }
	  }
	 }
	 }
	}


//document.onload = setDocumentVars();
//window.onresize = setDocumentVars;
