// Created by iWeb 3.0.1 local-build-20090418

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"><param name="src" value="Media/We%27ll%20Meet%20Again.mp3" /><param name="controller" value="false" /><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"><param name="src" value="Media/We%27ll%20Meet%20Again.mp3"/><param name="controller" value="false"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id2" type="video/quicktime" width="75" height="16" data="Media/We%27ll%20Meet%20Again.mp3"><param name="src" value="Media/We%27ll%20Meet%20Again.mp3"/><param name="controller" value="false"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="true"/></object>');}}
function createMediaStream_id3()
{return IWCreatePhotocast("http://www.rogercuthbert.com/james80/james80/Photos_files/rss.xml",false);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.rogercuthbert.com/james80/james80',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.rogercuthbert.com/james80/james80',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(2,new IWSize(494,494),new IWSize(494,0),new IWSize(494,509),27,27,0,new IWSize(44,44)),new IWPhotoFrame([IWCreateImage('Photos_files/Crayon_BK_v4%20%2801%29.png'),IWCreateImage('Photos_files/Crayon_BK_v4%20%2802%29.png'),IWCreateImage('Photos_files/Crayon_BK_v4%20%2803%29.png'),IWCreateImage('Photos_files/Crayon_BK_v4%20%2805%29.png'),IWCreateImage('Photos_files/Crayon_BK_v4%20%2808%29.png'),IWCreateImage('Photos_files/Crayon_BK_v4%20%2807%29.png'),IWCreateImage('Photos_files/Crayon_BK_v4%20%2806%29.png'),IWCreateImage('Photos_files/Crayon_BK_v4%20%2804%29.png')],null,0,1.000000,19.000000,19.000000,19.000000,19.000000,41.000000,41.000000,41.000000,41.000000,2.000000,1.000000,2.000000,1.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:0,reflectionOffset:2,captionHeight:0,fullScreen:1,transitionIndex:1},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),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');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');detectBrowser();fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();fixupIECSS3Opacity('id5');initializeMediaStream_id3()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}
