var isIE,isNS,isNS6,isDOM,lR,sR,vis,invis,myTimeOut,goName;

if(document.all)

{

isIE=true;lR="document.all.";sR=".style";vis="visible";invis="hidden";

}

if(document.layers)

{isNS=true;lR="document.layers.";sR="";vis="show";invis="hide";

}

if(document.getElementById&&!isIE)

{isDOM=true;lR="document.getElementById('";sR="').style";invis="hidden";vis="visible";

}

if(isDOM==true&&navigator.appName=="Netscape")

{

isNS6=true;

}

var oldwhich=0;

var x=0;

var layerTimer;

function layOver(which)

{

x=0;l=eval(lR+"l"+which+sR);

if(oldwhich!=which)

{

ol=eval(lR+"l"+oldwhich+sR);ol.visibility=invis;

}

l.visibility=vis;oldwhich=which;clearTimeout(layerTimer);

return;

}

function stopOver()

{

if(x<5)

{

x++;

}

else{ol=eval(lR+"l"+oldwhich+sR);ol.visibility=invis;x=0;

}

layerTimer=setTimeout("stopOver()",500);

}

function startOver()

{

x=0;clearTimeout(layerTimer);

}

function changebg(item,color,textcolor)

{

if(document.getElementById)

{theone=eval("document.getElementById('"+item+"')");

theone.style.background=color;theone.style.color=textcolor;

if(isIE){theone.style.cursor='hand';

}

else{theone.style.cursor='pointer';

}

}

}

function changeURL(strURL)

{

window.location.href=strURL;

}

window.name="pedwindow";sBrowserName=navigator.appName;