
// Javascripts modified by Lyndon Borrow - 1999.
// Separated into .js file by Rank High Feb 2003
// Detect if browser is Netscape 3 + or IE 4 +.
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
    if ((bName == "Netscape" && bVer >= 3) || 
        (bName == "Microsoft Internet Explorer" && bVer >= 4)) br = "n3"; 
    else br = "n2";

// Create image objects, preload all active and inactive images.
    if (br== "n3") { 
    img1on = new Image();                                                // Create seven objects for the 
    img1on.src = "images/button/JavaBut/intro-roll.gif";                 // active images; the images displayed
    img2on = new Image();                                                // when the mouse moves over the 
    img2on.src = "images/button/JavaBut/features-roll.gif";              // rollovers.
    img3on = new Image();
    img3on.src = "images/button/JavaBut/concept3-roll.gif";
    img4on = new Image();
    img4on.src = "images/button/JavaBut/concept4-roll.gif";
    img5on = new Image();
    img5on.src = "images/button/JavaBut/concept5-roll.gif";
    img6on = new Image();
    img6on.src = "images/button/JavaBut/concept6-roll.gif";
    img7on = new Image();
    img7on.src = "images/button/JavaBut/contact-roll.gif";

      

    img1off = new Image();                                               // Create seven image objects for the 
    img1off.src = "images/button/intro.gif";                             // inactive images; the images 
    img2off = new Image();                                               // displayed when the mouse moves off
    img2off.src = "images/button/features.gif";                          // the rollovers.
    img3off = new Image();
    img3off.src = "images/button/concept3.gif";
    img4off = new Image();
    img4off.src = "images/button/concept4.gif";
    img5off = new Image();
    img5off.src = "images/button/concept5.gif";
    img6off = new Image();
    img6off.src = "images/button/concept6.gif";
    img7off = new Image();
    img7off.src = "images/button/contact.gif";
    }

// Function to "activate" images.
function imgAct(imgName) {
    if (br == "n3") {
    document[imgName].src = eval(imgName + "on.src");
    }
}

// Function to "deactivate" images.
function imgInact(imgName) {
    if (br == "n3") {
    document[imgName].src = eval(imgName + "off.src");
    }
}

