
// 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") { 

    img01on = new Image();                    
    img01on.src = "images/ntion.gif";      
    img01off = new Image();              
    img01off.src = "images/nti.gif";
    
    img02on = new Image();                    
    img02on.src = "images/matson.gif";      
    img02off = new Image();              
    img02off.src = "images/mats.gif";
    
    
    img1on = new Image();                    
    img1on.src = "images/nav01on.gif";      
    img1off = new Image();              
    img1off.src = "images/nav01.gif";
    
    img2on = new Image();                    
    img2on.src = "images/nav02on.gif";      
    img2off = new Image();              
    img2off.src = "images/nav02.gif";
    
    img3on = new Image();                    
    img3on.src = "images/nav03on.gif";      
    img3off = new Image();              
    img3off.src = "images/nav03.gif";
    
    img4on = new Image();                    
    img4on.src = "images/nav04on.gif";      
    img4off = new Image();              
    img4off.src = "images/nav04.gif";
    
    img5on = new Image();                    
    img5on.src = "images/nav05on.gif";      
    img5off = new Image();              
    img5off.src = "images/nav05.gif";
    
    img6on = new Image();                    
    img6on.src = "images/nav06on.gif";      
    img6off = new Image();              
    img6off.src = "images/nav06.gif";
    
    img7on = new Image();                    
    img7on.src = "images/noteon.gif";      
    img7off = new Image();              
    img7off.src = "images/note.gif";
    
    img8on = new Image();                    
    img8on.src = "images/greetingson.gif";      
    img8off = new Image();              
    img8off.src = "images/greetings.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");
    }
}
