// Created by iWeb 2.0.4 local-build-20080823

function createMediaStream_id6()
{return IWCreatePhotocast("file://localhost/Users/richardgordon/Documents/gordon-gallery.web/gordon-gallery.com/Xmas_2007___New_Year_2008_Xhb_Archive_files/rss.xml",true,true);}
function initializeMediaStream_id6()
{createMediaStream_id6().load('file://localhost/Users/richardgordon/Documents/gordon-gallery.web/gordon-gallery.com',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id6',{pageIndex:0}));});}
function layoutMediaGrid_id6(range)
{createMediaStream_id6().load('file://localhost/Users/richardgordon/Documents/gordon-gallery.web/gordon-gallery.com',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id6',new IWPhotoGridLayout(2,new IWSize(258,258),new IWSize(258,48),new IWSize(309,320),27,27,0,new IWSize(0,0)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id6(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id6(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id6(),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('Xmas_2007___New_Year_2008_Xhb_Archive_files/Xmas_2007___New_Year_2008_Xhb_ArchiveMoz.css')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');NotificationCenter.addObserver(null,relayoutMediaGrid_id6,'RangeChanged','id6')
adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');detectBrowser();fixupIECSS3Opacity('id1');fixupIECSS3Opacity('id2');fixupIECSS3Opacity('id4');fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupIECSS3Opacity('id7');fixupIECSS3Opacity('id8');fixupIECSS3Opacity('id10');initializeMediaStream_id6()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}
