// 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();                    
    img1on.src = "images/home_roll.gif";      

    img1off = new Image();              
    img1off.src = "images/home.gif";  

   	img2on = new Image();                    
    img2on.src = "images/sitemap_roll.gif";      

    img2off = new Image();              
    img2off.src = "images/sitemap.gif";  

    img3on = new Image();                    
    img3on.src = "images/aboutus_roll.gif";      

    img3off = new Image();              
    img3off.src = "images/aboutus.gif";  
 
// icon rollovers.
	img4on = new Image();                    
    img4on.src = "images/but_customer_roll.gif";      

    img4off = new Image();              
    img4off.src = "images/but_customer.gif";   
	
	img5on = new Image();                    
    img5on.src = "images/but_cart_roll.gif";      

    img5off = new Image();              
    img5off.src = "images/but_cart.gif";   
	 
	img6on = new Image();                    
    img6on.src = "images/but_order_roll.gif";      

    img6off = new Image();              
    img6off.src = "images/but_order.gif";   

// tab rollovers.
	img7on = new Image();                    
    img7on.src = "images/adultsroll.gif";      

    img7off = new Image();              
    img7off.src = "images/adults.gif";   
		
	img8on = new Image();                    
    img8on.src = "images/kidsroll.gif";      

    img8off = new Image();              
    img8off.src = "images/kids.gif";
	
	img9on = new Image();                    
    img9on.src = "images/petsroll.gif";      

    img9off = new Image();              
    img9off.src = "images/pets.gif";   
	
	img10on = new Image();                    
    img10on.src = "images/mascotsroll.gif";      

    img10off = new Image();              
    img10off.src = "images/mascots.gif";   
	
	img11on = new Image();                    
    img11on.src = "images/decorroll.gif";      

    img11off = new Image();              
    img11off.src = "images/decor.gif";   
	
	img12on = new Image();                    
    img12on.src = "images/accessroll.gif";      

    img12off = new Image();              
    img12off.src = "images/access.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");
    }
}


function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}


