browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )))

if ( browser)  {
   
  excavationoff = new Image();
  excavationoff.src = "images/excavation.gif";
  excavationon = new Image();
  excavationon.src = "images/excavationx.gif";
  
  concreteoff = new Image();
  concreteoff.src = "images/concrete.gif";
  concreteon = new Image();
  concreteon.src = "images/concretex.gif";
  
  structuraloff = new Image();
  structuraloff.src = "images/structural.gif";
  structuralon = new Image();
  structuralon.src = "images/structuralx.gif";
  
  pipingoff = new Image();
  pipingoff.src = "images/piping.gif";
  pipingon = new Image();
  pipingon.src = "images/pipingx.gif";

  paintingoff = new Image();
  paintingoff.src = "images/painting.gif";
  paintingon = new Image();
  paintingon.src = "images/paintingx.gif";

  finishesoff = new Image();
  finishesoff.src = "images/finishes.gif";
  finisheson = new Image();
  finisheson.src = "images/finishesx.gif";

  siteoff = new Image();
  siteoff.src = "images/site.gif";
  siteon = new Image();
  siteon.src = "images/sitex.gif";

  materialoff = new Image();
  materialoff.src = "images/material.gif";
  materialon = new Image();
  materialon.src = "images/materialx.gif";

  projectleveloff = new Image();
  projectleveloff.src = "images/projectlevel.gif";
  projectlevelon = new Image();
  projectlevelon.src = "images/projectlevelx.gif";

  industrywideoff = new Image();
  industrywideoff.src = "images/industrywide.gif";
  industrywideon = new Image();
  industrywideon.src = "images/industrywidex.gif";
  
  researchstudyoff = new Image();
  researchstudyoff.src = "images/researchstudy.gif";
  researchstudyon = new Image();
  researchstudyon.src = "images/researchstudyx.gif";

  lessonsoff = new Image();
  lessonsoff.src = "images/lessons.gif";
  lessonson = new Image();
  lessonson.src = "images/lessonsx.gif";

  relatedresearchoff = new Image();
  relatedresearchoff.src = "images/relatedresearch.gif";
  relatedresearchon = new Image();
  relatedresearchon.src = "images/relatedresearchx.gif";

  ecthomeoff = new Image();
  ecthomeoff.src = "images/ecthome.gif";
  ecthomeon = new Image();
  ecthomeon.src = "images/ecthomex.gif";

  ciihomeoff = new Image();
  ciihomeoff.src = "images/ciihome.gif";
  ciihomeon = new Image();
  ciihomeon.src = "images/ciihomex.gif";

  pt183mainoff = new Image();
  pt183mainoff.src = "images/pt183main.gif";
  pt183mainon = new Image();
  pt183mainon.src = "images/pt183mainx.gif";

  }

function img_on(imgName) {
  if ( browser) {
    imgOn = eval(imgName + "on.src");
    document [imgName].src = imgOn;
  }
}

function img_off(imgName) {
  if ( browser) {
    imgOff = eval(imgName + "off.src");
    document [imgName].src = imgOff;
  }
}

function newhelp() {
window.open('../Tools/help.htm','help','scrollbars=yes,resizable=yes,width=335,height=450');
}

function PrintView() {
var w = window.open("", "PrintView", "scrollbars=yes,resizable=yes,width=600,height=450");
var d = w.document;
var url = document.location;
var hiddenurl = 'http://www.new-technologies.org/ECT/Programs/printview.cgi?url=' + url;
d.location.replace(hiddenurl);
}
