// Created by iWeb 3.0.1 local-build-20090822

function createMediaStream_id1()
{return IWCreatePhotocast("file://localhost/Users/johngreen/Desktop/2009_Aug_Chateau_Whistler/The_Journey_files/rss.xml",true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('file://localhost/Users/johngreen/Desktop/2009_Aug_Chateau_Whistler',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('file://localhost/Users/johngreen/Desktop/2009_Aug_Chateau_Whistler',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(233,233),new IWSize(233,48),new IWSize(280,296),27,27,0,new IWSize(39,43)),new IWPhotoFrame([IWCreateImage('The_Journey_files/Freestyle_01.png'),IWCreateImage('The_Journey_files/Freestyle_02.png'),IWCreateImage('The_Journey_files/Freestyle_03.png'),IWCreateImage('The_Journey_files/Freestyle_06.png'),IWCreateImage('The_Journey_files/Freestyle_09.png'),IWCreateImage('The_Journey_files/Freestyle_08.png'),IWCreateImage('The_Journey_files/Freestyle_07.png'),IWCreateImage('The_Journey_files/Freestyle_04.png')],null,2,1.000000,3.000000,3.000000,3.000000,3.000000,22.000000,24.000000,23.000000,25.000000,166.000000,222.000000,166.000000,222.000000,null,null,null,0.100000),imageStream,range,new IWShadow({blurRadius:9,offset:new IWPoint(0.7071,0.7071),color:'#463c3c',opacity:0.300000}),null,1.000000,{backgroundColor:'rgb(110, 73, 43)',reflectionHeight:0,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:0},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
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="75" height="16" style="height: 16px; left: 544px; position: absolute; top: 44px; width: 75px; z-index: 1; "><param name="src" value="Media/Greensleeves.m4a" /><param name="controller" value="true" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="true" /></object>');}
else if(isiPhone)
{document.write('<object id="id2" type="video/quicktime" width="75" height="16" style="height: 16px; left: 544px; position: absolute; top: 44px; width: 75px; z-index: 1; "><param name="src" value="Media/Greensleeves.m4a"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id2" type="video/quicktime" width="75" height="16" data="Media/Greensleeves.m4a" style="height: 16px; left: 544px; position: absolute; top: 44px; width: 75px; z-index: 1; "><param name="src" value="Media/Greensleeves.m4a"/><param name="controller" value="true"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="true"/></object>');}}
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('The_Journey_files/The_JourneyMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();initializeMediaStream_id1()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}
