
<!--



window.onerror = null;
 var bName = navigator.appName;
 var menuActive = 0
 var menuOn = 0
 var onLayer
 var timeOn = null

 //if (navigator.appName == "Netscape")
 //{
 //layerStyleRef="layer.";
 //layerRef="document.layers";
 //styleSwitch="";

 //}
 //else
 //{
 //layerStyleRef="layer.style.";
 //layerRef="document.all";
 //styleSwitch=".style";
 //}
 
 //below works in both IE and Firefox
 //document.getElementById('about').style.visibility='visible';
 //about.style.visibility='visible';
 //document.getElementById(id).style.attribute = document.all[id].style.attribute 
 layerStyleRef="layer.style.";
 layerRef="document.getElementById";
 styleSwitch=".style";

function showLayer(layerName)
{
 if (timeOn != null)
 {
 clearTimeout(timeOn)
 hideLayer(onLayer)
 }
 eval(layerName+".style.visibility='visible'");
 //above is replacement for below to work in both IE and Firefox
 //eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
 onLayer = layerName
}

function hideLayer(layerName)
{
 if (menuActive == 0) 
 {
 eval(layerName+".style.visibility='hidden'");
 //above is replacement for below to work in both IE and Firefox
 //eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"'); 
 }
}

function btnTimer()
{
 timeOn = setTimeout("btnOut()",250)
}

function btnOut(layerName) {
 if (menuActive == 0) {
 hideLayer(onLayer)
 }
}

function menuOver(itemName)
{
 clearTimeout(timeOn)
 menuActive = 1
 itemName.className='over'
}

function menuOut(itemName)
{
 menuActive = 0 
 timeOn = setTimeout("hideLayer(onLayer)", 100)
 itemName.className='out'
}
// -->


