
// 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 = "../images/nav/cf_gnav_about_over.gif";
	factson = new Image();
	factson.src = "../images/nav/cf_gnav_facts_over.gif";
	performanceon = new Image();
	performanceon.src = "../images/nav/cf_gnav_perform_over.gif";
	managerson = new Image();
	managerson.src = "../images/nav/cf_gnav_managers_over.gif";
	commentaryon = new Image();
	commentaryon.src = "../images/nav/cf_gnav_news_over.gif";
   // ===========================================Nav OFF ======================

	aboutoff = new Image();
	aboutoff.src = "../images/nav/cf_gnav_about.gif"; 
	factsoff = new Image();
	factsoff.src = "../images/nav/cf_gnav_facts.gif"; 
	performanceoff = new Image();
	performanceoff.src = "../images/nav/cf_gnav_perform.gif"; 
	managersoff = new Image();
	managersoff.src = "../images/nav/cf_gnav_managers.gif";
	commentaryoff = new Image();
	commentaryoff.src = "../images/nav/cf_gnav_news.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");

    }
}

function JumpTo(sTarget){
	if (sTarget != "-1")
		window.location.href = sTarget;
}

		// Note: If you are using the launchWindow function to load the disclaimer window
		// that says "You are leaving the ClipperFund.com site...", be sure to pass in the popPath parameter as
		// '/includes/popup_leaving.html?GoToURL=FULL_URL_TO_THE_OFFSITE_CONTENT '
		// and make the width = 400 and the height = 350.

		function launchWindow(popPath,popWidth,popHeight)
			{
			popWidth  = ',width=' + popWidth
			popHeight = ',height=' + popHeight
			window.open(popPath,"MediaHighlight",'toolbar=0,menubar=0,scrollbars=1,scrolling=yes,resizable=1,screenx=50,screeny=50'+popWidth+popHeight)
			}

