browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);


if ( (browserName == "Netscape" && browserVer >= 3) || (browserName== "Microsoft Internet Explorer" && browserVer > 3) ) version = "n3";

	else version = "n2";
	if (version == "n3") {

	
	corpon = new Image();
	corpon.src = "images/corpon.png";

	corpoff = new Image();
	corpoff.src = "images/corpoff.png";
	
	
	corp2on = new Image();
	corp2on.src = "images/corp2on.png";

	corp2off = new Image();
	corp2off.src = "images/corp2off.png";
	
	
	contacton = new Image();
	contacton.src = "images/contacton.png";

	contactoff = new Image();
	contactoff.src = "images/contactoff.png";
	
	
	homeon = new Image();
	homeon.src = "images/homeon.png";

	homeoff = new Image();
	homeoff.src = "images/homeoff.png";
	
	
	pipelineon = new Image();
	pipelineon.src = "images/pipelineon.png";

	pipelineoff = new Image();
	pipelineoff.src = "images/pipelineoff.png";
	
	
	t_missionon = new Image();
	t_missionon.src = "images/t_missionon.png";

	t_missionoff = new Image();
	t_missionoff.src = "images/t_missionoff.png";
	
	
	t_pron = new Image();
	t_pron.src = "images/t_pron.png";

	t_proff = new Image();
	t_proff.src = "images/t_proff.png";
	
	
	t_pubon = new Image();
	t_pubon.src = "images/t_pubon.png";

	t_puboff = new Image();
	t_puboff.src = "images/t_puboff.png";
	
	
	t_eventson = new Image();
	t_eventson.src = "images/t_eventson.png";

	t_eventsoff = new Image();
	t_eventsoff.src = "images/t_eventsoff.png";

	
	t_stockon = new Image();
	t_stockon.src = "images/t_stockon.png";

	t_stockoff = new Image();
	t_stockoff.src = "images/t_stockoff.png";
		

	t_secon = new Image();
	t_secon.src = "images/t_secon.png";

	t_secoff = new Image();
	t_secoff.src = "images/t_secoff.png";
	

	t_aron = new Image();
	t_aron.src = "images/t_aron.png";

	t_aroff = new Image();
	t_aroff.src = "images/t_aroff.png";
		
	
	t_govon = new Image();
	t_govon.src = "images/t_govon.png";

	t_govoff = new Image();
	t_govoff.src = "images/t_govoff.png";	
	
	
	t_infoon = new Image();
	t_infoon.src = "images/t_infoon.png";

	t_infooff = new Image();
	t_infooff.src = "images/t_infooff.png";
	
	
	t_tagenton = new Image();
	t_tagenton.src = "images/t_tagenton.png";

	t_tagentoff = new Image();
	t_tagentoff.src = "images/t_tagentoff.png";
	

	t_manon = new Image();
	t_manon.src = "images/t_manon.png";

	t_manoff = new Image();
	t_manoff.src = "images/t_manoff.png";
	
	
	t_bodon = new Image();
	t_bodon.src = "images/t_bodon.png";

	t_bodoff = new Image();
	t_bodoff.src = "images/t_bodoff.png";
	

	t_charton = new Image();
	t_charton.src = "images/t_charton.png";

	t_chartoff = new Image();
	t_chartoff.src = "images/t_chartoff.png";
	
	
	t_sabon = new Image();
	t_sabon.src = "images/t_sabon.png";

	t_saboff = new Image();
	t_saboff.src = "images/t_saboff.png";
	
	
	t_ar12on = new Image();
	t_ar12on.src = "images/t_ar12on.png";

	t_ar12off = new Image();
	t_ar12off.src = "images/t_ar12off.png";
	
	
	t_ar42on = new Image();
	t_ar42on.src = "images/t_ar42on.png";

	t_ar42off = new Image();
	t_ar42off.src = "images/t_ar42off.png";
	
	
	t_ar67on = new Image();
	t_ar67on.src = "images/t_ar67on.png";

	t_ar67off = new Image();
	t_ar67off.src = "images/t_ar67off.png";
	
	
}

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;

        }

}
