<!--

var imgEnd;
var infVal;


if (document.images){
var small = new Array()
small[1] = "./thumbnails/1.jpg"
small[2] = "./thumbnails/2.jpg"
small[3] = "./thumbnails/3.jpg"
small[4] = "./thumbnails/4.jpg"
small[5] = "./thumbnails/5.jpg"
small[6] = "./thumbnails/6.jpg"
small[7] = "./thumbnails/7.jpg"
small[8] = "./thumbnails/8.jpg"
small[9] = "./thumbnails/9.jpg"
small[10] = "./thumbnails/10.jpg"
small[11] = "./thumbnails/11.jpg"
small[12] = "./thumbnails/12.jpg"
small[13] = "./thumbnails/13.jpg"
small[14] = "./thumbnails/14.jpg"
small[15] = "./thumbnails/15.jpg"
small[16] = "./thumbnails/16.jpg"
small[17] = "./thumbnails/17.jpg"
small[18] = "./thumbnails/18.jpg"
small[19] = "./thumbnails/19.jpg"
small[20] = "./thumbnails/20.jpg"
small[21] = "./thumbnails/21.jpg"
small[22] = "./thumbnails/22.jpg"
small[23] = "./thumbnails/23.jpg"
small[24] = "./thumbnails/24.jpg"
small[25] = "./thumbnails/25.jpg"
small[26] = "./thumbnails/26.jpg"
small[27] = "./thumbnails/27.jpg"
small[28] = "./thumbnails/28.jpg"
small[29] = "./thumbnails/29.jpg"
small[30] = "./thumbnails/30.jpg"
imgEnd=30;
}





 function openwindow(thisPhoto){
	

		thisPhoto = thisPhoto;
	 
         newWindow = window.open('','','scrollbars=yes,width=800,height=800');
	 

         newWindow.document.write("<HTML><HEAD><TITLE>Arcachon2006</TITLE><script language='JavaScript'>function nxtSlide(direction){thisPhoto=parseInt(document.hiddenField.photoInput.value);newPhoto = thisPhoto + direction;if (newPhoto > document.hiddenField.photoEnd.value){newPhoto = 1;}if (newPhoto < 1){newPhoto = document.hiddenField.photoEnd.value;}thisPhoto=newPhoto;document.photoBook.src='./pictures/' +thisPhoto+ '.jpg';document.hiddenField.photoInput.value=thisPhoto;document.getElementById('photoNum').innerHTML='Picture ' +(thisPhoto)+ ' of ' +document.hiddenField.photoEnd.value;}</script></HEAD><BODY bgcolor='#FFFFFF' text='336699' link='#336699' vlink='#999999' alink='#999999'><table border='0' align='center'><tr><td colspan='3' align='center'><form name='countField'><label id='photoNum' name='photoNum'>Picture " + (thisPhoto) + " of " +imgEnd+ "</label></form></td></tr><tr><td colspan='3'><IMG name='photoBook' SRC='./pictures/" +thisPhoto+ ".jpg'><br></td></tr><tr><td align='right'><a name='bckLink' href='javascript:nxtSlide(-1)'>Back </a></td><td align='center'><a name='closeWin' href='javascript:close()'>Close this window </a></td><td align='left'><a name='nxtLink' href='javascript:nxtSlide(1)'>Next </a></td></tr><tr><td><form name='hiddenField'><input type='hidden' name='photoInput' id='photoInput' value=" +thisPhoto+ "><input type='hidden' name='photoEnd' id='photoEnd' value=" +imgEnd+ "></form></td></tr></table></BODY></HTML>");
 

          newWindow.document.close;
}

        
//-->
