// Created by iWeb 2.0.4 local-build-20081124

function createMediaStream_id1()
{return IWCreatePhotocast("file://localhost/Users/sophiehawkins/Desktop/hotel%20zen%20iweb%20export/Hotel_Zen/Photogallery_files/rss.xml",false,true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('file://localhost/Users/sophiehawkins/Desktop/hotel%20zen%20iweb%20export/Hotel_Zen',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('file://localhost/Users/sophiehawkins/Desktop/hotel%20zen%20iweb%20export/Hotel_Zen',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(304,304),new IWSize(304,33),new IWSize(304,352),27,27,0,new IWSize(40,40)),new IWPhotoFrame([IWCreateImage('Photogallery_files/Creme_frame2_01.png'),IWCreateImage('Photogallery_files/Creme_frame2_02.png'),IWCreateImage('Photogallery_files/Creme_frame2_04.png'),IWCreateImage('Photogallery_files/Creme_frame2_08.png'),IWCreateImage('Photogallery_files/Creme_frame2_09.png'),IWCreateImage('Photogallery_files/Creme_frame2_14.png'),IWCreateImage('Photogallery_files/Creme_frame2_13.png'),IWCreateImage('Photogallery_files/Creme_frame2_05.png')],null,0,1.000000,3.000000,3.000000,3.000000,3.000000,23.000000,23.000000,23.000000,23.000000,20.000000,19.000000,20.000000,19.000000,null,null,null,0.400000),imageStream,range,null,null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
IWRegisterNamedImage('contribution overlay','Media/Photo-Overlay-Contribution.png')
loadMozillaCSS('Photogallery_files/PhotogalleryMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');fixAllIEPNGs('Media/transparent.gif');Widget.onload();initializeMediaStream_id1()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}
