//Preloads rollover images
function doPreload()
{

var the_images = new Array('b-and-b-images/on-guesthouse-05.gif','b-and-b-images/on-guesthouse-06.gif','b-and-b-images/on-guesthouse-07.gif','b-and-b-images/on-guesthouse-08.gif','b-and-b-images/on-guesthouse-09.gif','b-and-b-images/on-place-to-stay-01.jpg','b-and-b-images/on-place-to-stay-02.jpg','b-and-b-images/on-place-to-stay-03.jpg','b-and-b-images/on-place-to-stay-04.jpg');
   preloadImages(the_images);
}

function preloadImages(the_images_array) {

   for(var loop = 0; loop < the_images_array.length; loop++)

   {
 	var an_image = new Image();
	an_image.src = the_images_array[loop];
   }
}


/*
Auto center window script- Eric King (http://redrival.com/eak/index.shtml)
Permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

var win = null;
function NewWindow(mypage,myname,w,h,scroll,resize){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable='+resize+' '
win = window.open(mypage,myname,settings)
}


//the end
