

bName = navigator.appName;
bVer = parseInt(navigator.appVersion);

if ((bName == "Netscape" && bVer >= 3) ||
	(bName == "Microsoft Internet Explorer"  &&bVer >= 4)) br = "n3";
	 else br = "n2";

//Create image objects, preload all active and inactive images.

if (br =="n3") {

   img1on = new Image();
   img1on.src = "images/lux_home_button_over.jpg";
   img1off = new Image();
   img1off.src = "images/lux_home_button.jpg";

   img2on = new Image();
   img2on.src = "images/lux_agent_button_over.jpg";
   img2off = new Image();
   img2off.src = "images/lux_agent_button.jpg";

   img3on = new Image();
   img3on.src = "images/search_button_over.jpg";
   img3off = new Image();
   img3off.src = "images/search_button.jpg";

   img4on = new Image();
   img4on.src = "images/about_button_over.jpg";
   img4off = new Image();
   img4off.src = "images/about_button.jpg";

   img5on = new Image();
   img5on.src = "images/layout/nav/calculator_ovr.jpg";
   img5off = new Image();
   img5off.src = "images/layout/nav/calculator.jpg";
   
   img6on = new Image();
   img6on.src = "images/layout/nav/links_ovr.jpg";
   img6off = new Image();
   img6off.src = "images/layout/nav/links.jpg";
   
   img7on = new Image();
   img7on.src = "images/layout/nav/home_ovr.jpg";
   img7off = new Image();
   img7off.src = "images/layout/nav/home.jpg";

   img8on = new Image();
   img8on.src = "images/layout/nav/contact_ovr.jpg";
   img8off = new Image();
   img8off.src = "images/layout/nav/contact.jpg";
   

   
  }

function imgAct(imgName) {
	if (br == "n3") {
		document[imgName].src = eval(imgName + "on.src");
	}
}

function imgInact(imgName) {
	if (br == "n3") {
		document[imgName].src = eval(imgName + "off.src");
	}
}
