// Created by iWeb 3.0.1 local-build-20090803

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id2" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="55" height="16" style="height: 16px; left: 471px; position: absolute; top: 55px; width: 55px; z-index: 1; "><param name="src" value="Media/summerrain.mp3" /><param name="controller" value="true" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id2" type="video/quicktime" width="55" height="16" style="height: 16px; left: 471px; position: absolute; top: 55px; width: 55px; z-index: 1; "><param name="src" value="Media/summerrain.mp3"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id2" type="video/quicktime" width="55" height="16" data="Media/summerrain.mp3" style="height: 16px; left: 471px; position: absolute; top: 55px; width: 55px; z-index: 1; "><param name="src" value="Media/summerrain.mp3"/><param name="controller" value="true"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
function createMediaStream_id4()
{return IWCreatePhotocast("file://localhost/Users/johngreen/Desktop/2009_Lambtons_Last_Days/Photos_files/rss.xml",true);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('file://localhost/Users/johngreen/Desktop/2009_Lambtons_Last_Days',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('file://localhost/Users/johngreen/Desktop/2009_Lambtons_Last_Days',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(3,new IWSize(152,152),new IWSize(152,32),new IWSize(183,199),27,27,0,new IWSize(12,12)),new IWPhotoFrame([IWCreateImage('Photos_files/PrintedPaper_frame_01.png'),IWCreateImage('Photos_files/PrintedPaper_frame_02.png'),IWCreateImage('Photos_files/PrintedPaper_frame_03.png'),IWCreateImage('Photos_files/PrintedPaper_frame_06.png'),IWCreateImage('Photos_files/PrintedPaper_frame_09.png'),IWCreateImage('Photos_files/PrintedPaper_frame_08.png'),IWCreateImage('Photos_files/PrintedPaper_frame_07.png'),IWCreateImage('Photos_files/PrintedPaper_frame_04.png')],null,0,1.000000,0.000000,0.000000,0.000000,0.000000,6.000000,6.000000,6.000000,6.000000,9.000000,9.000000,9.000000,9.000000,null,null,null,0.500000),imageStream,range,new IWShadow({blurRadius:5,offset:new IWPoint(0.7071,0.7071),color:'#000000',opacity:0.500000}),null,1.000000,{backgroundColor:'rgb(177, 168, 67)',reflectionHeight:0,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:0},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),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')
loadMozillaCSS('Photos_files/PhotosMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();initializeMediaStream_id4()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}

