/* Image Switching Java Script
 */
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

if (browserName == "Netscape" && browserVer >= 3 || browserName == "Microsoft Internet Explorer" && browserVer>=4) {
	version = "n3";
}
else {
	version = "x";
}

if (version == "n3") {
	homeon = new Image(43,77);
	homeon.src = "/images/navhome4.gif";
	homeoff = new Image(43,77);
	homeoff.src = "/images/navhome1.gif";

	whyon = new Image(116,77);
	whyon.src = "/images/navwhy4.gif";
	whyoff = new Image(116,77);
	whyoff.src = "/images/navwhy1.gif";

	whysubon = new Image(116,77);
	whysubon.src = "/images/navwhy3.gif";
	whysuboff = new Image(116,77);
	whysuboff.src = "/images/navwhy2.gif";

	abouton = new Image(68,77);
	abouton.src = "/images/navabout4.gif";
	aboutoff = new Image(68,77);
	aboutoff.src = "/images/navabout1.gif";

	aboutsubon = new Image(68,77);
	aboutsubon.src = "/images/navabout3.gif";
	aboutsuboff = new Image(68,77);
	aboutsuboff.src = "/images/navabout2.gif";

	serviceson = new Image(66,77);
	serviceson.src = "/images/navserv4.gif";
	servicesoff = new Image(66,77);
	servicesoff.src = "/images/navserv1.gif";

	servicessubon = new Image(66,77);
	servicessubon.src = "/images/navserv3.gif";
	servicessuboff = new Image(66,77);
	servicessuboff.src = "/images/navserv2.gif";

	toolson = new Image(80,77);
	toolson.src = "/images/navtools4.gif";
	toolsoff = new Image(80,77);
	toolsoff.src = "/images/navtools1.gif";

	voiceon = new Image(72,77);
	voiceon.src = "/images/navvoice4.gif";
	voiceoff = new Image(72,77);
	voiceoff.src = "/images/navvoice1.gif";

	voicesubon = new Image(72,77);
	voicesubon.src = "/images/navvoice3.gif";
	voicesuboff = new Image(72,77);
	voicesuboff.src = "/images/navvoice2.gif";

	contacton = new Image(80,77);
	contacton.src = "/images/navcontact4.gif";
	contactoff = new Image(80,77);
	contactoff.src = "/images/navcontact1.gif";
}

function img_act(imgName) {
	if (version == "n3") {
	imgOn = eval(imgName + "on.src");
	document [imgName].src = imgOn;
	}
}

function img_inact(imgName) {
	if (version == "n3") {
	imgOff = eval(imgName + "off.src");
	document [imgName].src = imgOff;
	}
}