function writeGlobalNav(){	var strwriteGlobalNav='';		var pageIntro,pageGallery,pageFactsheet,pageRooms,pageFacilities,pageFunction,pageOffers;	var pageHealth,pageDining,pageWifi,pageLocation,pageAbout,pageCareers,pageContact;	var butHoverIntro,butHoverGallery,butHoverFactsheet,butHoverRooms,butHoverFacilities,butHoverFunction,butHoverOffers;	var butHoverHealth,butHoverDining,butHoverWifi,butHoverLocation,butHoverAbout,butHoverCareers,butHoverContact;		// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~	// Get the Url from the window location bar	// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~		var strLoc = new String(document.location);			// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~	// Parse the url to see what page is	// being diplayed and set the appropriate	// value to ensure the brand submenu	// displays the correct menu graphic	// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~		if (strLoc.indexOf('chaletdeladranse.html')>0){		pageIntro = 'down';		butHoverIntro= 'down';	}	else{		pageIntro = 'off';		butHoverIntro= 'on';			}			if (strLoc.indexOf('#')>0){		pageGallery = 'down';		butHoverGallery= 'down';	}	else{		pageGallery = 'off';		butHoverGallery= 'on';			}strwriteGlobalNav = strwriteGlobalNav + '<table cellpadding="0" cellspacing="0" border="0" width="796" bgcolor="">';strwriteGlobalNav = strwriteGlobalNav + '<tr>';strwriteGlobalNav = strwriteGlobalNav + '<td height="56" width="185"><a href="chaletdeladranse.shtml" target="_parent" onMouseOut="swapImgRestore()" onMouseOver="swapImage(\'chalet-de-la-dranse\',\'\',\'images_l/chalet-de-la-dranse-on.gif\')",1><img name="chalet-de-la-dranse" width="185" height="56" border="0" src="images_l/chalet-de-la-dranse-off.gif"></td>';	strwriteGlobalNav = strwriteGlobalNav + '<td height="56" width="232"><a href="#" target="_parent" onMouseOut="swapImgRestore()" onMouseOver="swapImage(\'morzine-summ-wint\',\'\',\'images_l/morzine-summ-wint-on.gif\')",1><img name="morzine-summ-wint" src="images_l/morzine-summ-wint-off.gif" border="0" width="232"></a></td>';strwriteGlobalNav = strwriteGlobalNav + '<td height="56" width="91"><a href="#" target="_parent" onMouseOut="swapImgRestore()" onMouseOver="swapImage(\'locatio\',\'\',\'images_l/location-on.gif\')",1><img name="locatio" src="images_l/location-off.gif" border="0" width="91"></a></td>';	strwriteGlobalNav = strwriteGlobalNav + '<td height="56" width="64"><a href="#" target="_parent" onMouseOut="swapImgRestore()" onMouseOver="swapImage(\'prices\',\'\',\'images_l/prices-on.gif\')",1><img name="prices" src="images_l/prices-off.gif" border="0" width="64"></a></td>';	strwriteGlobalNav = strwriteGlobalNav + '<td height="56" width="105"><a href="#" target="_parent" onMouseOut="swapImgRestore()" onMouseOver="swapImage(\'links\',\'\',\'images_l/links-on.gif\')",1><img name="links" src="images_l/links-off.gif" border="0" width="105"></a></td>';	strwriteGlobalNav = strwriteGlobalNav + '<td height="56" width="119"><a href="#" target="_parent" onMouseOut="swapImgRestore()" onMouseOver="swapImage(\'reservations\',\'\',\'images_l/reservations-on.gif\')",1><img name="reservations" src="images_l/reservations-off.gif" border="0" width="119"></a></td>';	strwriteGlobalNav = strwriteGlobalNav + '</tr>';strwriteGlobalNav = strwriteGlobalNav + '</table>';	document.write (strwriteGlobalNav);}
