	function loadHeader()
	{ //function to dynamically set the header div to the images instead of the 'no image' text
		var header = document.getElementById("header");
		var HTML = "<img src='/global/images/hdr-ttl.jpg' alt='The Haterleigh Heritage Inn Logo' /><img src='/global/images/hdr-shapes.jpg' alt='Design of Haterleigh Heritage Inn' /><img src='/global/images/hdr-fivestar.jpg' alt='Five Star rated by Canada Select and Frommers Guide' />";
	//	header.innerHTML = HTML;
	}
	function loadNav()
	{
		var nav = document.getElementById("nav");
		//var HTML = "<a href='index.html'><img src='/global/images/nav-home-active.gif' alt='Home Page' /></a><a href='rooms/index.html'><img src='/global/images/nav-rooms.gif' alt='Rooms and Rates' /></a><a href='https://northstudio.com/haterleigh/reservations/index.html'><img src='/global/images/nav-reservations.gif' alt='Secure Reservations' /></a><a href='lounges/index.html'><img src='/global/images/nav-lounges.gif' alt='Guest Lounges' /></a><a href='breakfast/index.html'><img src='/global/images/nav-breakfast.gif' alt='Breakfast' /></a><a href='concierge/index.html'><img src='/global/images/nav-concierge.gif' alt='Concierge' /></a><a href='innkeepers/index.html'><img src='/global/images/nav-innkeepers.gif' alt='Innkeepers' /></a><a href='reviews/index.html'><img src='/global/images/nav-reviews.gif' alt='Reviews' /></a><a href='directions/index.html'><img src='/global/images/nav-directions.gif' alt='Directions' /></a>";
		var HTML ="<a href='/index.html'><img src=\"/global/images/nav-home-active.gif\" border=\"0\" alt=\"Home Page\" /></a><a href=\"/rooms/index.html\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('rooms','','/global/images/nav-rooms-over.gif',1)\"><img src=\"/global/images/nav-rooms.gif\" name=\"rooms\" border=\"0\" id=\"rooms\" alt=\"Rooms and Rates\" /></a><a href=\"https://www.ktfirebird.com/~hat/SSL/reserve.html\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('reserve','','/global/images/nav-reservations-over.gif',1)\"><img src=\"/global/images/nav-reservations.gif\" name=\"reserve\" border=\"0\" id=\"reserve\" alt=\"Make a Reservation on our Secure Form\" /></a><a href=\"/lounges/index.html\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('lounge','','/global/images/nav-lounges-over.gif',1)\"><img src=\"/global/images/nav-lounges.gif\" name=\"lounge\" border=\"0\" id=\"lounge\" alt='See our Guest Lounges' /></a><a href=\"/breakfast/index.html\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('breaky','','/global/images/nav-breakfast-over.gif',1)\"><img src=\"/global/images/nav-breakfast.gif\" name=\"breaky\" border=\"0\" id=\"breaky\" alt=\"Our Famous Breakfasts\" /></a><a href=\"/concierge/index.html\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('concierge','','/global/images/nav-concierge-over.gif',1)\"><img src=\"/global/images/nav-concierge.gif\" name=\"concierge\" border=\"0\" id=\"concierge\" alt=\"Concierge Service\" /></a><a href=\"/innkeepers/index.html\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('inn','','/global/images/nav-innkeepers-over.gif',1)\"><img src=\"/global/images/nav-innkeepers.gif\" name=\"inn\" border=\"0\" id=\"inn\" alt=\"The Innkeepers\" /></a><a href=\"/reviews/index.html\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('review','','/global/images/nav-reviews-over.gif',1)\"><img src=\"/global/images/nav-reviews.gif\" name=\"review\" border=\"0\" id=\"review\" alt=\"Reviews of the Haterleigh Heritage Inn\" /></a><a href=\"/directions/index.html\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage('direct','','/global/images/nav-directions-over.gif',1)\"><img src=\"/global/images/nav-directions.gif\" name=\"direct\" border=\"0\" id=\"direct\" alt=\"Directions\" /></a>";
		//nav.innerHTML = HTML;
	}
	
	
	function openRoomWindow(myURL) {
	window.open(myURL,"hintWindow", "height=500,width=650,resizable,hotkeys,scrollbars,dependent");
}
	
	
	function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.getElementsByTagName('img')){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function init()
	{//function called on load of every page. used to fix CSS margin on screens with less than 925px width
		if(document.width<="925")
		{
			//document.getElementById("fullWrapper").id="fullWrapperSMALL";
			
		}
	
	}
