browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

if (browserName == "Netscape" && browserVer >= 4 || browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "v4";
        else version = "v3";

if (version == "v4") {
	HomeOut = new Image();
	HomeOut.src = "/images/nav_home_out.gif";
	EmployersOut = new Image();
	EmployersOut.src = "/images/nav_for_employers_out.gif";
	ArchitectureOut = new Image();
	ArchitectureOut.src = "/images/nav_architecture_out.gif";
	EngineeringOut = new Image();
	EngineeringOut.src = "/images/nav_engineering_out.gif";
	ConstructionOut = new Image();
	ConstructionOut.src = "/images/nav_construction_out.gif";
		
	HomeOver = new Image();
	HomeOver.src = "/images/nav_home_over.gif";
	EmployersOver = new Image();
	EmployersOver.src = "/images/nav_for_employers_over.gif";
	ArchitectureOver = new Image();
	ArchitectureOver.src = "/images/nav_architecture_over.gif";
	EngineeringOver = new Image();
	EngineeringOver.src = "/images/nav_engineering_over.gif";
	ConstructionOver = new Image();
	ConstructionOver.src = "/images/nav_construction_over.gif";
}

             
function img_act(imgName) {
	if (version == "v4") {
		imgOn = eval(imgName + "Over.src");
        document[imgName].src = imgOn;
     }
}

function img_inact(imgName) {
	if (version == "v4") {
		imgOff = eval(imgName + "Out.src");
        document[imgName].src = imgOff;
    }
}