
/* Rollovers */

if(document.images)
		img1on = new Image();
		img1on.src ="images/about-the-cottage-at-muir-beach_on.gif";
		img2on = new Image();
		img2on.src ="images/information-the-cottage-at-muir-beach_on.gif";
		img3on = new Image();
		img3on.src ="images/photos-the-cottage-at-muir-beach_on.gif";
		img4on = new Image();
		img4on.src ="images/testimonials-the-cottage-at-muir-beach_on.gif";
		img5on = new Image();
		img5on.src ="images/contact-the-cottage-at-muir-beach_on.gif";
		
						
		img1off = new Image();
		img1off.src ="images/about-the-cottage-at-muir-beach.gif";
		img2off = new Image();
		img2off.src ="images/information-the-cottage-at-muir-beach.gif";
		img3off = new Image();
		img3off.src ="images/photos-the-cottage-at-muir-beach.gif";
		img4off = new Image();
		img4off.src ="images/testimonials-the-cottage-at-muir-beach.gif";
		img5off = new Image();
		img5off.src ="images/contact-the-cottage-at-muir-beach.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);





