
// 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 images.

	if (br== "n3") { 
   // ===========================================Nav ON =======================

	abouton = new Image();
	abouton.src = "/_assets/images/nav/nav_about_over.gif";
	
	focuson = new Image();
	focuson.src = "/_assets/images/nav/nav_invest_focus_over.gif";
	
	peopleon = new Image();
	peopleon.src = "/_assets/images/nav/nav_people_over.gif";
	
  	commentaryon = new Image();
	commentaryon.src = "/_assets/images/nav/nav_commentary_over.gif";
	
  	termson = new Image();
	termson.src = "/_assets/images/nav/nav_terms_over.gif";
   // ===========================================Nav OFF ======================

	aboutoff = new Image();
	aboutoff.src = "/_assets/images/nav/nav_about.gif"; 
	
	focusoff = new Image();
	focusoff.src = "/_assets/images/nav/nav_invest_focus.gif"; 
	
	peopleoff = new Image();
	peopleoff.src = "/_assets/images/nav/nav_people.gif"; 

	commentaryoff = new Image();
	commentaryoff.src = "/_assets/images/nav/nav_commentary.gif";

	termsoff = new Image();
	termsoff.src = "/_assets/images/nav/nav_terms.gif";
	
}


// Function to "activate" images.
function imgAct(imgName) {
    if (br == "n3") {
    document[imgName].src = eval(imgName + "on.src");

    }
}

// Function to "deactivate" images.
function imgInact(imgName) {
    if (br == "n3") {
    document[imgName].src = eval(imgName + "off.src");

    }
}