<!-- Hide from other browsers

bname = navigator.appName;
bvers = parseInt(navigator.appVersion);
imgloaded = new Boolean(false);
version = "";

function popup(url, name, height, width, scrollbars)
{
	var popwin;
	var opts = "toolbar=yes,status=no,location=no,menubar=no,resizable=yes scrollbars=yes";
	opts += ",height=" + height + ",width=" + width + ",scrollbars=" + scrollbars;
	
	popwin = window.open("", name, opts);
	
	popwin.focus();
	
	popwin.location = url;
	
}

function load_images() {
   
   //Only works for IE 4 and Netscape 3 & 4
   if ((bname == "Netscape" && bvers >= 3) 
   ||  (bname == "Microsoft Internet Explorer" && bvers > 3)) {

      version = "OK";
	
	     menu1_on = new Image(); menu1_on.src = "img/hpaboutNEW_on2.jpg";
      menu2_on = new Image(); menu2_on.src = "img/hpservicesNEW_on2.jpg";
      menu3_on = new Image(); menu3_on.src = "img/hpappointmentNEW_on2.jpg";
      menu4_on = new Image(); menu4_on.src = "img/hpexpertNEW_on2.jpg";
      menu5_on = new Image(); menu5_on.src = "img/hpcommunityNEW_on2.jpg";
      menu6_on = new Image(); menu6_on.src = "img/hpstaffNEW_on2.jpg";
      menu7_on = new Image(); menu7_on.src = "img/hptestimonialsNEW_on2.jpg";
	  menu8_on = new Image(); menu8_on.src = "img/hpbiosNEW_on2.jpg";
	  menu9_on = new Image(); menu9_on.src = "img/hpvideosNEW_on2.jpg";
      								
      
      menu_current = new Image();
      
      imgloaded = eval(true);

   }
   else{
      version = "Lower version of browser";
   }
}

function menu_on(iname) {
   if (version == "OK" && imgloaded) {
      imgOn = eval(iname + "_on.src");
      menu_current.src = document[iname].src;
      document[iname].src = imgOn;
   }
}

function menu_off(iname) {
   if (version == "OK" && imgloaded) {
      if (menu_current.src != "") {
         document[iname].src = menu_current.src;
      }
   
   }
}

/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

/* Modified to support Opera */
function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}


