var okversion = 0;
if (document.images) {
    okversion = 1;
}


// Initialize needed graphics

if (okversion) {

    oneon        = new Image;
    oneon.src    ="../images/nav-second-about-on.gif";
    oneoff       = new Image;
    oneoff.src   = "../images/nav-second-about-off.gif";

    twoon        = new Image;
    twoon.src    ="../images/nav-second-corporate-on.gif";
    twooff       = new Image;
    twooff.src   = "../images/nav-second-corporate-off.gif";

    threeon        = new Image;
    threeon.src    ="../images/nav-second-theatrical-on.gif";
    threeoff       = new Image;
    threeoff.src   = "../images/nav-second-theatrical-off.gif";

    fouron        = new Image;
    fouron.src    ="../images/nav-second-architecture-on.gif";
    fouroff       = new Image;
    fouroff.src   = "../images/nav-second-architecture-off.gif";

    fiveon        = new Image;
    fiveon.src    ="../images/nav-second-special-on.gif";
    fiveoff       = new Image;
    fiveoff.src   = "../images/nav-second-special-off.gif";

    sixon        = new Image;
    sixon.src    ="../images/nav-second-client-on.gif";
    sixoff       = new Image;
    sixoff.src   = "../images/nav-second-client-off.gif";

}

// The meat of the script
// manages mouseOver animations
//   imgDocID - the name or number of the document image to be replaced
//   imgObjName - the name of the image object to be swapped in

function hiLite(imgDocID,imgObjName) {
   if (okversion) {
       document.images[imgDocID].src = eval(imgObjName + ".src");
   }
}


