<!--
//  handles switching layers
dom = (document.getElementById) ? true : false;
ns5 = ((navigator.userAgent.indexOf("Gecko")>-1) && dom) ? true: false;
ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
ns4 = (document.layers && !dom) ? true : false;
ie4 = (document.all && !dom) ? true : false;
nodyn = (!ns5 && !ns4 && !ie4 && !ie5) ? true : false;

if (document.layers) {
nn = true;
} else if (document.all) {
ie = true; coll = ".all"; sty = ".style";
}


function loadLyr(pg) {
   var oldPg = curPg;
   hide(oldPg);
   curPg = pg;
   show(pg);
}
 
function show(lyr) {
   var theLyr = (ns4)? document.relLyr.document.layers[lyr] : (ie4)? document.all[lyr].style : (ie5||ns5)? document.getElementById(lyr).style: null;
   if (!theLyr) return;
   theLyr.visibility = "visible";
}
 
function hide(lyr) {
   var theLyr = (ns4)? document.relLyr.document.layers[lyr] : (ie4)? document.all[lyr].style : (ie5||ns5)? document.getElementById(lyr).style: null;
   if (!theLyr) return;
   theLyr.visibility = "hidden"; 
}
 
//-->
