browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
        if (browserName == "Netscape" || browserVer >= 3) version = "n3";
        else version = "n2";
        
        if (version == "n3") {
		
		toc1on = new Image();
        toc1on.src = "/pictures/design_on.gif";
      
        toc1off = new Image();
        toc1off.src = "/pictures/design_off.gif";

		toc2on = new Image();
        toc2on.src = "/pictures/photo_on.gif";
      
        toc2off = new Image();
        toc2off.src = "/pictures/photo_off.gif";

		toc3on = new Image();
        toc3on.src = "/pictures/offset_on.gif";
      
        toc3off = new Image();
        toc3off.src = "/pictures/offset_off.gif";

		toc4on = new Image();
        toc4on.src = "/pictures/flexo_on.gif";
      
        toc4off = new Image();
        toc4off.src = "/pictures/flexo_off.gif";

        toc5on = new Image();
        toc5on.src = "/pictures/lab_on.gif";
      
        toc5off = new Image();
        toc5off.src = "/pictures/lab_off.gif";
    
}

function img_act(imgName1,NewStatus) {
        if (version == "n3")
        {
         imgOn1 = eval(imgName1 + "on.src");
		 document.getElementById(imgName1).src = imgOn1;

		if(document.all){
			document.getElementById('marketText').innerText=NewStatus;
		} else{
		    document.getElementById('marketText').textContent = NewStatus;
		}
        }
}

function img_inact(imgName1) {
        if (version == "n3")
        {
         imgOff1 = eval(imgName1 + "off.src");
		 document.getElementById(imgName1).src =imgOff1;
		 if(document.all){
			document.getElementById('marketText').innerText=' ';
		} else{
		    document.getElementById('marketText').textContent = '.';
		}
        }
}

