// 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();                       //Images are Hot
    img1on.src = "images/commercial-on.gif";     
    img2on = new Image();           
    img2on.src = "images/support-on.gif";
    img3on = new Image();           
    img3on.src = "images/info-on.gif";
    img4on = new Image();           
    img4on.src = "images/distributors-on2.gif";      
    img5on = new Image();           
    img5on.src = "images/promotions-on.gif";  
    img6on = new Image();           
    img6on.src = "images/BtnGSAon.gif";  
    
    
    img1off = new Image();          
    img1off.src = "images/commercial.gif";      //Images UNHOT
    img2off = new Image();          
    img2off.src = "images/support.gif";   
    img3off = new Image();          
    img3off.src = "images/info.gif";
    img4off = new Image();          
    img4off.src = "images/distributors2.gif";  
    img5off = new Image();          
    img5off.src = "images/promotions.gif";  
    img6off = new Image();          
    img6off.src = "images/BtnGSA.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");
    
   }
}
