
// Copyright (C) 1999 Dan Steinman
// Distributed under the terms of the GNU Library General Public License
// Available at http://www.dansteinman.com/dynduo/

//Detect if browser is Netscape 3 + or IE 4
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();			//Create four image objects for the
img1on.src = "images/home-on.gif";		//active images; the images displayed
img2on = new Image();			//when the mouse moves over the rollovers.
img2on.src = "images/program-on.gif";
img3on = new Image();
img3on.src = "images/call-on.gif";
img4on = new Image();
img4on.src = "images/submit-on.gif";
img5on = new Image();
img5on.src = "images/review-on.gif";
img6on = new Image();
img6on.src = "images/exhibits-on.gif";
img7on = new Image();
img7on.src = "images/tours-on.gif";
img8on = new Image();
img8on.src = "images/area-on.gif";
img9on = new Image();
img9on.src = "images/registration-on.gif";
img10on = new Image();
img10on.src = "images/org-on.gif";
img11on = new Image();
img11on.src = "images/tech-on.gif";
img12on = new Image();
img12on.src = "images/hotels-on.gif";
img13on = new Image();
img13on.src = "images/faq-on.gif";

img1off = new Image();			//Create four image objects for the
img1off.src = "images/home-off.gif";	//inactive images; the images displayed
img2off = new Image();			//when the mouse moves off the rollovers.
img2off.src = "images/program-off.gif";
img3off = new Image();
img3off.src = "images/call-off.gif";
img4off = new Image();
img4off.src = "images/submit-off.gif";
img5off = new Image();
img5off.src = "images/review-off.gif";
img6off = new Image();
img6off.src = "images/exhibits-off.gif";
img7off = new Image();
img7off.src = "images/tours-off.gif";
img8off = new Image();
img8off.src = "images/area-off.gif";
img9off = new Image();
img9off.src = "images/registration-off.gif";
img10off = new Image();
img10off.src = "images/org-off.gif";
img11off = new Image();
img11off.src = "images/tech-off.gif";
img12off = new Image();
img12off.src = "images/hotels-off.gif";
img13off = new Image();
img13off.src = "images/faq-off.gif";
}


//Function to " "activate" images.
function imgAct(imgName) {		
	if (br == "n3") {	
		document[imgName].src = eval(imgName + "on.src");
		}
}
//Function to "deactivate" images.
function imgInact(imgName) {		
	if (br == "n3") {
		document[imgName].src = eval(imgName + "off.src");
		}
}				
