// Javascript Utilities
// NetLabs.net  All Rights Reserved, info@netlabs.net Copyright 2002
//

NS4 = (document.layers) ? true : false;
IE = (document.all) ? true : false;
IE4 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 4.")!=-1)) ? true : false;
IE5 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 5.")!=-1)) ? true : false;
IE6 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 6.")!=-1)) ? true : false;
ver4 = (NS4 || IE4) ? true : false;
NS6 = (document.getElementById) && (navigator.userAgent.indexOf('Netscape')!=-1)?true:false;
IE5plus = IE5 || IE6;
DHTML= (NS4 || IE || NS6);

function popUp(){return};
function popDown(){return};
function startIt(){return};
//if (!ver4) event = null;
//-->

function getObj(name)
{
  if (document.all)
  { return document.all[name] }
  else if (document.getElementById)
  { return document.getElementById(name) }
  else if (document.layers)
  { return document.layers[name]; }
  else return false;
}

function lineOn(num) {
   if (!DHTML ) return;
   e=getObj('ln'+num);
   //alert('ln'+num);
   if (!e ) return;
   e.src = "/images/336699.gif";
}

function lineOff(num) {
   if (!DHTML ) return;
   e=getObj('ln'+num);
   //if (!e ) return;
   e.src = "/images/spacer.gif";
}



function arrOn(num) {
   if (!DHTML ) return;
   e=getObj('arr'+num);
   if (!e ) return;
   e.src = "/images/blue_arrow.gif";
   e=getObj('ln'+num);
   if (!e ) return;
   e.src = "/images/669966px.gif";
   //e.style.visibility="visible";
}


function arrOff(num) {
   if (!DHTML ) return;
   e=getObj('arr'+num);
   if (!e ) return;
   e.src = "/images/blue_arrow.gif";
   e=getObj('ln'+num);
   if (!e ) return;
   e.src = "/images/spacer.gif";
   //e.style.visibility="hidden";
}
