
bName = navigator.appName;

bVer = parseInt(navigator.appVersion);

if ((bName == "Netscape" && bVer>=3) ||

        (bName == "Microsoft Internet Explorer" && bVer>=4)) browser= "n3";

else browser="n2";

// Create image objects, preload all active and inactive images.

if (browser=="n3") {

                        espanolon = new Image();
                        espanolon.src = "/images/nav_espanol_on.gif";
                        
       					
                        espanoloff = new Image();
                        espanoloff.src = "/images/nav_espanol_off.gif";
                        
       					
}

 

function swapOn(imgName){

        if(browser=="n3"){

        document[imgName].src = eval(imgName + "on.src");

        }

}

 

function swapOff(imgName){

        if(browser=="n3"){

        document[imgName].src = eval(imgName + "off.src");

        }

}

 