	//preload images
	preloadImages();

	//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";
	}

	//Function to "activate" images.
	function imgAct(imgTag, imgName) {
		if (br == "n3") {
			//alert(document.images[imgName].src);
			imgTag.src = eval(imgName + "On.src");
		}
	}

	//Function to "deactivate" images.
	function imgInact(imgTag, imgName) {
		if (br == "n3") {
			imgTag.src = eval(imgName + "Off.src");
		}
	}
	
	
	function newImage(arg) {
		if (document.images) {
			rslt = new Image();
			rslt.src = arg;
			return rslt;
		}
	}
	
	function test(i) {
		alert(i.id);
	}

	//Funtion to preload images
	function preloadImages(imgPath) {
		if (document.images) {
			
			HomeOff= newImage(imgPath + "HomeOff.gif");		
			HomeOn = newImage(imgPath + "HomeOn.gif");
			AboutUsOff= newImage(imgPath + "AboutUsOff.gif");		
			AboutUsOn = newImage(imgPath + "AboutUsOn.gif");
			ProductsOff = newImage(imgPath + "ProductsOff.gif");
			ProductsOn = newImage(imgPath + "ProductsOn.gif");
			DlrLocatorOff = newImage(imgPath + "DlrLocatorOff.gif");
			DlrLocatorOn = newImage(imgPath + "DlrLocatorOn.gif");
			NewsRoomOff = newImage(imgPath + "NewsRoomOff.gif");
			NewsRoomOn= newImage(imgPath + "NewsRoomOn.gif");
			CareersOff = newImage(imgPath + "CareersOff.gif");
			CareersOn = newImage(imgPath + "CareersOn.gif");
			LinksOff = newImage(imgPath + "LinksOff.gif");
			LinksOn = newImage(imgPath + "LinksOn.gif");
			RequestInfoOff = newImage(imgPath + "RequestInfoOff.gif");
			RequestInfoOn = newImage(imgPath + "RequestInfoOn.gif");			
			InvestorRelationsOff = newImage(imgPath + "InvestorRelationsOff.gif");
			InvestorRelationsOn = newImage(imgPath + "InvestorRelationsOn.gif");			
			preloadFlag = true;
		}
	}

