browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )))
        
        if (browser) {
        toc1on = new Image();
        toc1on.src = "img/n1.gif";
        toc2on = new Image();
        toc2on.src = "img/n2.gif";
        toc3on = new Image();
        toc3on.src = "img/n3.gif";
        toc4on = new Image();
        toc4on.src = "img/n4.gif";
        toc5on = new Image();
        toc5on.src = "img/n5.gif";
        toc6on = new Image();
        toc6on.src = "img/n6.gif";

        top1on = new Image();
        top1on.src = "img/m1.gif";
        top2on = new Image();
        top2on.src = "img/m2.gif";
        top3on = new Image();
        top3on.src = "img/m3.gif";
        top4on = new Image();
        top4on.src = "img/m4.gif";
        top5on = new Image();
        top5on.src = "img/m5.gif";
        top6on = new Image();
        top6on.src = "img/m6.gif";
        top7on = new Image();
        top7on.src = "img/m7.gif";
        
        toc1off = new Image();
        toc1off.src = "img/n1off.gif";
        toc2off = new Image();
        toc2off.src = "img/n2off.gif";
        toc3off = new Image();
        toc3off.src = "img/n3off.gif";
        toc4off = new Image();
        toc4off.src = "img/n4off.gif";
        toc5off = new Image();
        toc5off.src = "img/n5off.gif";
        toc6off = new Image();
        toc6off.src = "img/n6off.gif";


        top1off = new Image();
        top1off.src = "img/m1off.gif";
        top2off = new Image();
        top2off.src = "img/m2off.gif";
        top3off = new Image();
        top3off.src = "img/m3off.gif";
        top4off = new Image();
        top4off.src = "img/m4off.gif";
        top5off = new Image();
        top5off.src = "img/m5off.gif";
        top6off = new Image();
        top6off.src = "img/m6off.gif";
        top7off = new Image();
        top7off.src = "img/m7off.gif";
        }

function img_act(imgName) {
        if (browser) {
        imgOn = eval(imgName + "on.src");
        document [imgName].src = imgOn;
        }
}

function img_inact(imgName) {
        if (browser) {
        imgOff = eval(imgName + "off.src");
        document [imgName].src = imgOff;
        }
}

function wopen(strPageName, strPageID, myWidth, myHeight, isCenter)
{
  if(window.screen)if(isCenter)if(isCenter=="true"){
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;
  }
window.open(strPageName, strPageID, 'toolbar=no,status=no,menubar=no,resizable=yes,scrollbars=yes,width=' + myWidth + ',height=' + myHeight + ',left='+myLeft+',top='+myTop);
}