<!--
self.onError=null;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;

function resizeIF() {
	if(IE) { Width = parseInt(document.body.scrollWidth); }
	if(NS) { Width = self.pageXOffset; }
	return Width;
}

window.onerror = null;
var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);
var NS4 = (bName == "Netscape" && bVer >= 4);
var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
var onLayer
var timeOn = null
var menuActive = 0

if (NS4 || IE4){
	 if (navigator.appName == "Netscape")	 {
		  layerStyleRef="layer.";
		  layerRef="document.layers";
		  styleSwitch="";
	  }	else {
		  layerStyleRef="layer.style.";
		  layerRef="document.all";
		  styleSwitch=".style";
	 }
}

function showLayer(){
	if (NS4 || IE4)	{
		 if (timeOn != null) {
			  clearTimeout(timeOn);
			  hideLayer(onLayer);
		 }
		 if (NS4 || IE4) {
			eval(layerRef+'["ShowTopLayer"]'+styleSwitch+'.display="block"');
		 }
	}
}

function hideLayer(){
	 if (menuActive == 0) {
		  if (NS4 || IE4) {
			 eval(layerRef+'["ShowTopLayer"]'+styleSwitch+'.display="none"');
		  }
	 }
}

function btnTimer() {
	menuActive=0;
	timeOn = setTimeout("btnOut(ShowTopLayer)",500);
}

function LoadTimer() {
	showLayer();
	setTimeout("btnOut(ShowTopLayer)",8000);
}

function btnOut(layerName) {
	menuActive=0
	if (menuActive == 0) {
		hideLayer(onLayer);
	}
}

function menuOver(itemName) {
	clearTimeout(timeOn);
	menuActive = 1;
}

function menuOut(itemName) {
	menuActive = 0; 
	timeOn = setTimeout("hideLayer(ShowTopLayer)", 400);
}
//-->