	function newWindow() {
    		newPictures=window.open('BookingForm.htm', 
    		'newPic', 'scrollbars=yes,width=600,height=430');
  	 	newPictures.focus();
	}

	function PictureWindow() {
    		newPictures=window.open('PuertoPollensa_ResortPictures.htm', 
		'newPic', 'scrollbars=yes,width=770');
  	 	newPictures.focus();
	}

	function BeachWindow() {
        	newPictures=window.open('PuertoPollensa_BeachClip.htm', 
    		'newPic', 'scrollbars=yes,width=800,height=900');
  	 	newPictures.focus();
	}

	function PrintMapWindow() {
        	newPictures=window.open('mapNewPrint.htm', 
    		'newPic', 'scrollbars=yes,width=800,height=600');
  	 	newPictures.focus();
	}
	function ScreenMapWindow() {
        	newPictures=window.open('mapNewScreen.htm', 
    		'newPic', 'scrollbars=yes,width=800,height=600');
  	 	newPictures.focus();
	}
	
	
	var bgLinkColor = "#CCCCCC"
	var linkColor = "black"
	
	var bgLinkHover = "#00CCFF"
	var linkHover = "black"
	
	var numLinks = 3

	var bgLinkColorLate = "#99CCFF"
	var linkColorLate = "red"
	
	var bgLinkHoverLate = "#00CCFF"
	var linkHoverLate = "red"
	
	var numSections = 2
	var SectionColor1 = "#FFD5BF"
	var SectionColor2 = "#DDEEFF"


	function init(){
		for (i=1; i <= numLinks ; i++){		
			linkNo = 'link' + i;
			objLink = document.getElementById(linkNo);
			objLink.onmouseover = menuHover;
			objLink.onmouseout = menuOut;
		}

		objLate = document.getElementById('linkID');
		if (document.getElementById('linkID')){
			objLate.onmouseover = menuHoverLate;
			objLate.onmouseout = menuOutLate;
		}
	}

	function menuHover(e){
		hoverObjLink = document.getElementById(this.id);
		hoverObjLink.style.color = linkHover;
		hoverObjLink.style.backgroundColor = bgLinkHover;
	}
	
	function menuOut(e){
		outObjLink = document.getElementById(this.id);
		outObjLink.style.color = linkColor;
		outObjLink.style.backgroundColor = bgLinkColor;
	}

	function menuHoverLate(e){
		hoverObjLate = document.getElementById(this.id);
		hoverObjLate.style.color = linkHoverLate;
		hoverObjLate.style.backgroundColor = bgLinkHoverLate;
	}
	
	function menuOutLate(e){
		outObjLate = document.getElementById(this.id);
		outObjLate.style.color = linkColorLate;
		outObjLate.style.backgroundColor = bgLinkColorLate;
	}

	function ChangeCaption(caption) {
   		var head1 = document.getElementById("Caption");
   		head1.firstChild.nodeValue=caption;
	}

	function change1(picName,imgName) {
   		if (document.images)
    		{
      		imgOn=eval(imgName + ".src");
      		document.mainpic.src= imgOn;
    		}
 	}
