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;
    } 
}
var browserName = navigator.appName;
var browserVer = parseInt(navigator.appVersion);
var version = 0;
if (browserVer >= 3) {
			version = "n3";
}
if (version == "n3"){
	toc1on = new Image();
	toc1on.src = "images/bar-home-on.gif";
	toc2on = new Image();
	toc2on.src = "images/bar-comp-on.gif";
	toc3on = new Image();
	toc3on.src = "images/bar-prod-on.gif";
	toc4on = new Image();
	toc4on.src = "images/bar-cont-on.gif";
	toc5on = new Image();
	toc5on.src = "images/bar-gaz-on.gif";
	toc6on = new Image();
	toc6on.src = "images/bar-news-on2.gif";

	toc1off = new Image();
	toc1off.src = "images/bar-home-off.gif";
	toc2off = new Image();
	toc2off.src = "images/bar-comp-off.gif";
	toc3off = new Image();
	toc3off.src = "images/bar-prod-off.gif";
	toc4off = new Image();
	toc4off.src = "images/bar-cont-off.gif";
	toc5off = new Image();
	toc5off.src = "images/bar-gaz-off.gif";
	toc6off = new Image();
	toc6off.src = "images/bar-news-off2.gif";
}
