// javscript Document
/* Rollovers */

if(document.images)
		img1on = new Image();
		img1on.src ="images/nav_spainfo_on.gif";
		img2on = new Image();
		img2on.src ="images/nav_spaservices_on.gif";
		img3on = new Image();
		img3on.src ="images/nav_medicalspa_on.gif";
		img4on = new Image();
		img4on.src ="images/nav_spaboutique_on.gif";
		img5on = new Image();
		img5on.src ="images/nav_giftcards_on.gif";
		img6on = new Image();
		img6on.src ="images/nav_appointment_on.gif";
		img7on = new Image();
		img7on.src ="images/nav_home_on.gif";
		
		img8on = new Image();
		img8on.src ="images/nav_viewcart_on.gif";
		img9on = new Image();
		img9on.src ="images/nav_giftcardicon_on.gif";
		img10on = new Image();
		img10on.src ="images/nav_requestappticon_on.gif";
		
		img1off = new Image();
		img1off.src ="images/nav_spainfo.gif";
		img2off = new Image();
		img2off.src ="images/nav_spaservices.gif";
		img3off = new Image();
		img3off.src ="images/nav_medicalspa.gif";
		img4off = new Image();
		img4off.src ="images/nav_spaboutique.gif";
		img5off = new Image();
		img5off.src ="images/nav_giftcards.gif";
		img6off = new Image();
		img6off.src ="images/nav_appointment.gif";
		img7off = new Image();
		img7off.src ="images/nav_home.gif";

		img8off = new Image();
		img8off.src ="images/nav_viewcart.gif";
		img9off = new Image();
		img9off.src ="images/nav_giftcardicon.gif";
		img10off = new Image();
		img10off.src ="images/nav_requestappticon.gif";
		
				
function imgOn(imgName){
	document[imgName].src = eval(imgName + "on.src");
} 

function imgOff(imgName){
	document[imgName].src = eval(imgName + "off.src");
} 




/* NETSCAPE RESIZE FIX  */

 function reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.pgW=innerWidth; document.pgH=innerHeight; onresize=reloadPage; }}
  else if (innerWidth!=document.pgW || innerHeight!=document.pgH) location.reload();
}
reloadPage(true);


