version = "incompatible";
browserName = navigator.appName;
browserVer  = parseInt(navigator.appVersion);
if (browserName == "Netscape" && browserVer >= 3) 
version = "ok";
else if (browserName == "Microsoft Internet Explorer" && browserVer > 3) 
version = "ok";

if (version == "ok")
{
ml1_off=new Image(); ml1_off.src="images/p1-ml-off-01.gif";
ml1_on=new Image(); ml1_on.src="images/p1-ml-on-01.gif";
ml2_off=new Image(); ml2_off.src="images/p1-ml-off-02.gif";
ml2_on=new Image(); ml2_on.src="images/p1-ml-on-02.gif";
ml3_off=new Image(); ml3_off.src="images/p1-ml-off-03.gif";
ml3_on=new Image(); ml3_on.src="images/p1-ml-on-03.gif";
ml4_off=new Image(); ml4_off.src="images/p1-ml-off-04.gif";
ml4_on=new Image(); ml4_on.src="images/p1-ml-on-04.gif";
ml5_off=new Image(); ml5_off.src="images/p1-ml-off-05.gif";
ml5_on=new Image(); ml5_on.src="images/p1-ml-on-05.gif";
ml6_off=new Image(); ml6_off.src="images/p1-ml-off-06.gif";
ml6_on=new Image(); ml6_on.src="images/p1-ml-on-06.gif";
ml7_off=new Image(); ml7_off.src="images/p1-ml-off-07.gif";
ml7_on=new Image(); ml7_on.src="images/p1-ml-on-07.gif";
ml8_off=new Image(); ml8_off.src="images/p1-ml-off-08.gif";
ml8_on=new Image(); ml8_on.src="images/p1-ml-on-08.gif";
ml9_off=new Image(); ml9_off.src="images/p1-ml-off-09.gif";
ml9_on=new Image(); ml9_on.src="images/p1-ml-on-09.gif";
ml10_off=new Image(); ml10_off.src="images/p1-ml-off-10.gif";
ml10_on=new Image(); ml10_on.src="images/p1-ml-on-10.gif";

photo0=new Image(); photo0.src="images/p1-photo-0.gif";
photo1=new Image(); photo1.src="images/p1-photo-1.gif";
photo2=new Image(); photo2.src="images/p1-photo-2.gif";
photo3=new Image(); photo3.src="images/p1-photo-3.gif";
photo4=new Image(); photo4.src="images/p1-photo-4.gif";
photo5=new Image(); photo5.src="images/p1-photo-5.gif";
photo6=new Image(); photo6.src="images/p1-photo-6.gif";
photo7=new Image(); photo7.src="images/p1-photo-7.gif";
photo8=new Image(); photo8.src="images/p1-photo-8.gif";
photo9=new Image(); photo9.src="images/p1-photo-9.gif";
photo10=new Image(); photo10.src="images/p1-photo-10.gif";
}

function img_on(imgNumber)
{
        if (version == "ok") 
        {
        imgName =  "ml" + imgNumber
        imgOn = eval( imgName + "_on.src");
        document [imgName].src = imgOn;
        photoSrc = eval("photo" + imgNumber + ".src");
        document.photo.src = photoSrc;
        }
}

function img_off(imgNumber)
{
        if (version == "ok") 
        {
        imgName =  "ml" + imgNumber
        imgOff = eval(imgName  + "_off.src");
        document [ imgName].src = imgOff;
        document.photo.src = photo0.src;
        }
}