function popup(url, name, width, height)
{
	settings=
	"toolbar=yes,location=yes,directories=yes,"+
"status=no,menubar=no,scrollbars=yes,"+
"resizable=yes,width="+width+",height="+height;

	MyNewWindow=window.open("http://"+url,name,settings);
}

agent = navigator.userAgent;
browserVer = 2;
if (agent.substring(0,7) == "Mozilla")
{
    if (parseInt(agent.substring(8,9)) >= 3) {browserVer = 1;}
}


// preload images:
if (browserVer == 1) {
		
		login_on = new Image(101,19);
        login_on.src = "/navigation/login_on.jpg";
        login_off = new Image(101,19);
        login_off.src = "/navigation/login_off.jpg";   
        
		about_on = new Image(102,20);
        about_on.src = "/navigation/about_on.jpg";
        about_off = new Image(102,20);
        about_off.src = "/navigation/about_off.jpg";
        
        cabinets_on = new Image(90,20);
        cabinets_on.src = "/navigation/cabinets_on.jpg";
        cabinets_off = new Image(90,20);
        cabinets_off.src = "/navigation/cabinets_off.jpg";
        
        countertops_on = new Image(131,20);
        countertops_on.src = "/navigation/countertops_on.jpg";
        countertops_off = new Image(131,20);
        countertops_off.src = "/navigation/countertops_off.jpg";
        
        services_on = new Image(106,20);
        services_on.src = "/navigation/services_on.jpg";
        services_off = new Image(106,20);
        services_off.src = "/navigation/services_off.jpg";
        
        faqs_on = new Image(51,20);
        faqs_on.src = "/navigation/faqs_on.jpg";
        faqs_off = new Image(51,20);
        faqs_off.src = "/navigation/faqs_off.jpg";
 
        contact_on = new Image(81,20);
        contact_on.src = "/navigation/contact_on.jpg";
        contact_off = new Image(81,20);
        contact_off.src = "/navigation/contact_off.jpg"; 
        
        employment_on = new Image(87,20);
        employment_on.src = "/navigation/employment_on.jpg";
        employment_off = new Image(87,20);
        employment_off.src = "/navigation/employment_off.jpg";
        
        site_map_on = new Image(79,20);
        site_map_on.src = "/navigation/site_map_on.jpg";
        site_map_off = new Image(79,20);
        site_map_off.src = "/navigation/site_map_off.jpg";
     
        
        craftsmanship_on = new Image(129,28);
        craftsmanship_on.src = "/navigation/craftsmanship_on.jpg";
        craftsmanship_off = new Image(129,28);
        craftsmanship_off.src = "/navigation/craftsmanship_off.jpg";

        summit_on = new Image(129,26);
        summit_on.src = "/navigation/summit_on.jpg";
        summit_off = new Image(129,26);
        summit_off.src = "/navigation/summit_off.jpg";      

        american_on = new Image(129,23);
        american_on.src = "/navigation/american_on.jpg";
        american_off = new Image(129,23);
        american_off.src = "/navigation/american_off.jpg";      
        
        mission_on = new Image(129,26);
        mission_on.src = "/navigation/mission_on.jpg";
        mission_off = new Image(129,26);
        mission_off.src = "/navigation/mission_off.jpg";      

        doors_on = new Image(129,24);
        doors_on.src = "/navigation/doors_on.jpg";
        doors_off = new Image(129,24);
        doors_off.src = "/navigation/doors_off.jpg";  
        
        specials_on = new Image(129,26);
        specials_on.src = "/navigation/specials_on.jpg";
        specials_off = new Image(129,26);
        specials_off.src = "/navigation/specials_off.jpg";         

		our_history_on = new Image(130,20);
        our_history_on.src = "/navigation/our_history_on.jpg";
        our_history_off = new Image(130,20);
        our_history_off.src = "/navigation/our_history_off.jpg";

        our_people_on = new Image(130,20);
        our_people_on.src = "/navigation/our_people_on.jpg";
        our_people_off = new Image(130,20);
        our_people_off.src = "/navigation/our_people_off.jpg";  
        
		our_environment_on = new Image(130,26);
        our_environment_on.src = "/navigation/our_environment_on.jpg";
        our_environment_off = new Image(130,26);
        our_environment_off.src = "/navigation/our_environment_off.jpg";        

		wood_options_on = new Image(130,38);
		wood_options_on.src = "/navigation/wood_options_on.jpg";
        wood_options_off = new Image(130,38);
        wood_options_off.src = "/navigation/wood_options_off.jpg"; 
        
		overlay_doors_on = new Image(130,38);
		overlay_doors_on.src = "/navigation/overlay_doors_on.jpg";
        overlay_doors_off = new Image(130,38);
        overlay_doors_off.src = "/navigation/overlay_doors_off.jpg";  
        
        photo_gallery_on = new Image(130,26);
        photo_gallery_on.src = "/navigation/photo_gallery_on.jpg";
        photo_gallery_off = new Image(130,26);
        photo_gallery_off.src = "/navigation/photo_gallery_off.jpg";         

        doorstyles_on = new Image(130,26);
        doorstyles_on.src = "/navigation/doorstyles_on.jpg";
        doorstyles_off = new Image(130,26);
        doorstyles_off.src = "/navigation/doorstyles_off.jpg"; 
        
		cheyenne_on = new Image(79,16);
        cheyenne_on.src = "/navigation/cheyenne_on.jpg";
        cheyenne_off = new Image(79,16);
        cheyenne_off.src = "/navigation/cheyenne_off.jpg";          

        ft_collins_on = new Image(79,16);
        ft_collins_on.src = "/navigation/ft_collins_on.jpg";
        ft_collins_off = new Image(79,16);
        ft_collins_off.src = "/navigation/ft_collins_off.jpg";      

        denver_on = new Image(79,15);
        denver_on.src = "/navigation/denver_on.jpg";
        denver_off = new Image(79,15);
        denver_off.src = "/navigation/denver_off.jpg";             

        springs_on = new Image(79,17);
        springs_on.src = "/navigation/springs_on.jpg";
        springs_off = new Image(79,17);
        springs_off.src = "/navigation/springs_off.jpg";      
        
        distributors_on = new Image(79,13);
        distributors_on.src = "/navigation/distributors_on.jpg";
        distributors_off = new Image(79,13);
        distributors_off.src = "/navigation/distributors_off.jpg";    
        
        getting_started_on = new Image(130,30);
        getting_started_on.src = "/navigation/getting_started_on.jpg";
        getting_started_off = new Image(130,30);
        getting_started_off.src = "/navigation/getting_started_off.jpg";

        ordering_on = new Image(130,35);
        ordering_on.src = "/navigation/ordering_on.jpg";
        ordering_off = new Image(130,35);
        ordering_off.src = "/navigation/ordering_off.jpg";  
        
        gallery_on = new Image(130,26);
        gallery_on.src = "/navigation/gallery_on.jpg";
        gallery_off = new Image(130,26);
        gallery_off.src = "/navigation/gallery_off.jpg";          
 		
		forms_on = new Image(62,20);
        forms_on.src = "/navigation/forms_on.jpg";
        forms_off = new Image(62,20);
        forms_off.src = "/navigation/forms_off.jpg";
        
        programs_on = new Image(155,20);
        programs_on.src = "/navigation/programs_on.jpg";
        programs_off = new Image(155,20);
        programs_off.src = "/navigation/programs_off.jpg";
        
        announcements_on = new Image(126,20);
        announcements_on.src = "/navigation/announcements_on.jpg";
        announcements_off = new Image(126,20);
        announcements_off.src = "/navigation/announcements_off.jpg";
        
        reference_on = new Image(149,20);
        reference_on.src = "/navigation/reference_on.jpg";
        reference_off = new Image(149,20);
        reference_off.src = "/navigation/reference_off.jpg";
        
        more_on = new Image(104,20);
        more_on.src = "/navigation/more_on.jpg";
        more_off = new Image(104,20);
        more_off.src = "/navigation/more_off.jpg";

		specials_on = new Image(130,30);
        specials_on.src = "/navigation/specials_on.jpg";
        specials_off = new Image(130,30);
        specials_off.src = "/navigation/specials_off.jpg";
  
        kitchen_on = new Image(130,26);
        kitchen_on.src = "/navigation/kitchen_on.jpg";
        kitchen_off = new Image(130,26);
        kitchen_off.src = "/navigation/kitchen_off.jpg"; 
    
        laundry_on = new Image(130,35);
        laundry_on.src = "/navigation/laundry_on.jpg";
        laundry_off = new Image(130,35);
        laundry_off.src = "/navigation/laundry_off.jpg";     

        office_on = new Image(130,37);
        office_on.src = "/navigation/office_on.jpg";
        office_off = new Image(130,37);
        office_off.src = "/navigation/office_off.jpg"; 
        
        media_on = new Image(130,36);
        media_on.src = "/navigation/media_on.jpg";
        media_off = new Image(130,36);
        media_off.src = "/navigation/media_off.jpg"; 
        
        bath_on = new Image(130,24);
        bath_on.src = "/navigation/bath_on.jpg";
        bath_off = new Image(130,24);
        bath_off.src = "/navigation/bath_off.jpg"; 
        
        architectural_on = new Image(130,37);
        architectural_on.src = "/navigation/architectural_on.jpg";
        architectural_off = new Image(130,37);
        architectural_off.src = "/navigation/architectural_off.jpg";         

		joint_types_on = new Image(130,26);
        joint_types_on.src = "/navigation/joint_types_on.jpg";
        joint_types_off = new Image(130,26);
        joint_types_off.src = "/navigation/joint_types_off.jpg"; 

        specifications_on = new Image(130,23);
        specifications_on.src = "/navigation/specifications_on.jpg";
        specifications_off = new Image(130,23);
        specifications_off.src = "/navigation/specifications_off.jpg";         

        profiles_on = new Image(130,26);
        profiles_on.src = "/navigation/profiles_on.jpg";
        profiles_off = new Image(130,26);
        profiles_off.src = "/navigation/profiles_off.jpg"; 

		photo_gallery_on = new Image(130,26);
        photo_gallery_on.src = "/files/photo_gallery_on.jpg";
        photo_gallery_off = new Image(130,26);
        photo_gallery_off.src = "/files/photo_gallery_off.jpg"; 
}

function hiLite(imgDocID,imgObjName) {
//  imgDocID - name or number of document image to be replaced
//  imgObjName - name of image object to be swapped in

if (browserVer == 1) {
document.images[imgDocID].src = eval(imgObjName + ".src")
}}

