// Created by iWeb 3.0 local-build-20090916

function createMediaStream_id3()
{return IWCreatePhotocast("file://localhost/Users/philipmortstedt/Public/08sept/Site/Gallery_files/rss.xml",false);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('file://localhost/Users/philipmortstedt/Public/08sept/Site',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('file://localhost/Users/philipmortstedt/Public/08sept/Site',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(4,new IWSize(154,154),new IWSize(154,14),new IWSize(157,183),27,27,0,new IWSize(14,10)),new IWPhotoFrame([IWCreateImage('Gallery_files/Portfolio_Frame_01.png'),IWCreateImage('Gallery_files/Portfolio_Frame_02.png'),IWCreateImage('Gallery_files/Portfolio_Frame_03.png'),IWCreateImage('Gallery_files/Portfolio_Frame_06.png'),IWCreateImage('Gallery_files/Portfolio_Frame_09.png'),IWCreateImage('Gallery_files/Portfolio_Frame_08.png'),IWCreateImage('Gallery_files/Portfolio_Frame_07.png'),IWCreateImage('Gallery_files/Portfolio_Frame_04.png')],null,2,0.450000,0.000000,20.000000,10.000000,20.000000,22.000000,31.000000,19.000000,31.000000,407.000000,320.000000,407.000000,320.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
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('Gallery_files/GalleryMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();initializeMediaStream_id3()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}

