
// 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 navigation.
if (br=="n3") {
img1on = new Image();			//Create four image objects for the
img1on.src = "nav/routing-on.gif";		//active headers; the headers displayed
img2on = new Image();			//when the mouse moves over the rollovers.
img2on.src = "nav/tracking-on.gif";
img3on = new Image();
img3on.src = "nav/delivery-on.gif";

img1off = new Image();			//Create four image objects for the
img1off.src = "nav/routing-off.gif";	//inactive headers; the headers displayed
img2off = new Image();			//when the mouse moves off the rollovers.
img2off.src = "nav/tracking-off.gif";
img3off = new Image();
img3off.src = "nav/delivery-off.gif";
}


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

