
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

version = "n2";
if (browserName == "Netscape" && browserVer >= 3) version = "n3";
if (navigator.appName == "Microsoft Internet Explorer") version = "n3";

if (version == "n3"){
	menuon = new Image();
	menuon.src = "/images/home-menu/6_on.jpg";
	
	menu1on = new Image();
	menu1on.src = "/images/home-menu/menu1_on.jpg";
	menu2on = new Image();
	menu2on.src = "/images/home-menu/menu2_on.jpg";
	menu3on = new Image();
	menu3on.src = "/images/home-menu/Nav-for-Phyto_on_15.jpg";
	menu4on = new Image();
	menu4on.src = "/images/home-menu/Nav-for-Phyto_on_17.jpg";
	menu5on = new Image();
	menu5on.src = "/images/home-menu/nav-home-new-Over_03.jpg";
	menu6on = new Image();
	menu6on.src = "/images/home-menu/nav-home-new-Over_06.jpg";
	
	line1on = new Image();
	line1on.src = "/images/home-menu/lines1.jpg";
	line2on = new Image();
	line2on.src = "/images/home-menu/lines2.jpg";
	line3on = new Image();
	line3on.src = "/images/home-menu/lines3.jpg";
	line4on = new Image();
	line4on.src = "/images/home-menu/lines4.jpg";
	line5on = new Image();
	line5on.src = "/images/home-menu/line5.jpg";
	line6on = new Image();
	line6on.src = "/images/home-menu/line6.jpg";
	
	menuoff = new Image();
	menuoff.src = "/images/home-menu/6_off.jpg";
	
	menu1off = new Image();
	menu1off.src = "/images/home-menu/menu1_off.jpg";
	menu2off = new Image();
	menu2off.src = "/images/home-menu/menu2_off.jpg";
	menu3off = new Image();
	menu3off.src = "/images/home-menu/Nav-for-Phyto_15.jpg";
	menu4off = new Image();
	menu4off.src = "/images/home-menu/Nav-for-Phyto_17.jpg";
	menu5off = new Image();
	menu5off.src = "/images/home-menu/nav-home-new_03.jpg";
	menu6off = new Image();
	menu6off.src = "/images/home-menu/nav-home-new_06.jpg";
	
	
	line1off = new Image();
	line1off.src = "/images/spacer.gif";
	line2off = new Image();
	line2off.src = "/images/spacer.gif";
	line3off = new Image();
	line3off.src = "/images/spacer.gif";
	line4off = new Image();
	line4off.src = "/images/spacer.gif";
	line5off = new Image();
	line5off.src = "/images/spacer.gif";
	line6off = new Image();
	line6off.src = "/images/spacer.gif";
	
	
}

function imgact(imgName) {
	if (version == "n3") {
	imgOn = eval(imgName + "on.src");
	document [imgName].src = imgOn;
	}
}

function imginact(imgName) {
	if (version == "n3") {
	imgOff = eval(imgName + "off.src");                                    
	document [imgName].src = imgOff;
	}
}

function imgact2(imgName) {
	if (version == "n3") {
	imgOn = eval(imgName + "on.src");
	document.lines.src = imgOn;
	}
}

function imginact2(imgName) {
	if (version == "n3") {
	imgOff = eval(imgName + "off.src");                                    
	document.lines.src = imgOff;
	}
}