   var ready = false;
   if (document.images){
   if (((navigator.appCodeName == 'MSIE') && (navigator.appVersion.substring(0,1) > 3)) ||
    ((navigator.appCodeName == 'Mozilla') && (navigator.appVersion.substring(0,1) > 2))) { ready = true; }
   if (ready){
   home_on = new Image()
   home_off = new Image()
   home_on.src="images/nav_home_bd.gif"
   home_off.src="images/nav_home.gif"
   homedot_on = new Image()
   homedot_off = new Image()
   homedot_on.src="images/nav_home_red.gif"
   homedot_off.src="images/nav_home_grey.gif"
   hist_on = new Image()
   hist_off = new Image()
   hist_on.src = "images/nav_history_bd.gif"
   hist_off.src = "images/nav_history.gif"
   build_on = new Image()
   build_off = new Image()
   build_on.src = "images/nav_building_bd.gif"
   build_off.src = "images/nav_building.gif"
   location_on = new Image()
   location_off = new Image()
   location_on.src = "images/nav_location_bd.gif"
   location_off.src = "images/nav_location.gif"
   gallery_on = new Image()
   gallery_off = new Image()
   gallery_on.src = "images/nav_gallery_bd.gif"
   gallery_off.src = "images/nav_gallery.gif"
   lease_on = new Image()
   lease_off = new Image()
   lease_on.src = "images/nav_leaseinfo_bd.gif"
   lease_off.src = "images/nav_leaseinfo.gif"
   contacts_on = new Image()
   contacts_off = new Image()
   contacts_on.src = "images/nav_contacts_bd.gif"
   contacts_off.src = "images/nav_contacts.gif"
   downloads_on = new Image()
   downloads_off = new Image()
   downloads_on.src = "images/nav_downloads_bd.gif"
   downloads_off.src = "images/nav_downloads.gif"
   links_on = new Image()
   links_off = new Image()
   links_on.src = "images/nav_links_bd.gif"
   links_off.src = "images/nav_links.gif"
   sqf_on = new Image()
   sqf_off = new Image()
   sqf_on.src = "images/sqft_on.gif"
   sqf_off.src = "images/sqft_off.gif"
   sqm_on = new Image()
   sqm_off = new Image()
   sqm_on.src = "images/sqm_on.gif"
   sqm_off.src = "images/sqm_off.gif"

   function activate(img) {
	if (ready){document[img].src = eval (img + "_on.src");}
   }
   function deactivate(image) {
	if (ready){document[image].src = eval (image + "_off.src");}
   }}}