// Detect if browser is Netscape 3+ or IE 4+
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
                if ((browserName == "Netscape" && browserVer >= 3) ||
                        (browserName == "Microsoft Internet Explorer" &&
                        browserVer >= 4)) version = "n3";
                else version = "x";
// create image objects
// preload all active images
        if      (version == "n3"){
                img1on = new Image();
                img2on = new Image();
                img3on = new Image();
                img4on = new Image();
                img5on = new Image();
		
				img1on.src = "images/home_on.gif";
                img2on.src = "images/contact_on.gif";
                img3on.src = "images/who_on.gif";
                img4on.src = "images/shows_on.gif";
                img5on.src = "images/what_on.gif";

	
		
		
                
                
                           
// preload all inactive images
                img1off = new Image();
                img2off = new Image();
                img3off = new Image();
                img4off = new Image();
                img5off = new Image();
                
                img1off.src = "images/home_off.gif";
                img2off.src = "images/contact_off.gif";
                img3off.src = "images/who_off.gif";
                img4off.src = "images/shows_off.gif";
                img5off.src = "images/what_off.gif";

                
         }
// "activate" images
        function imgAct(imgName){
                if (version == "n3"){
                document[imgName].src =  eval(imgName + "on.src");
                 }
         }
// "deactivate" images
        function imgDeact(imgName){
                if (version == "n3"){
                document[imgName].src =  eval(imgName + "off.src");
                 }
         }



function LoadIt(){
        window.defaultStatus="Welcome to the Official Tra-Bang Website!!"
}
