// Created by iWeb 2.0.4 local-build-20090510

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.capturedlifeevents.com.au/CLE_photo/WEDDINGS_files/rss.xml",false,true);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.capturedlifeevents.com.au/CLE_photo',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.capturedlifeevents.com.au/CLE_photo',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(4,new IWSize(129,129),new IWSize(129,0),new IWSize(155,144),27,27,0,new IWSize(7,4)),new IWPhotoFrame([IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Portfolio/Portfolio_Frame_01.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Portfolio/Portfolio_Frame_02.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Portfolio/Portfolio_Frame_03.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Portfolio/Portfolio_Frame_06.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Portfolio/Portfolio_Frame_09.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Portfolio/Portfolio_Frame_08.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Portfolio/Portfolio_Frame_07.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Portfolio/Portfolio_Frame_04.png')],null,2,0.186842,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,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:0,fullScreen:1,transitionIndex:9},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,99),url:'WEDDINGS_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'WEDDINGS_files/stroke_9.png'},{rect:new IWRect(1,-1,444,2),url:'WEDDINGS_files/stroke_10.png'},{rect:new IWRect(445,-1,2,2),url:'WEDDINGS_files/stroke_11.png'},{rect:new IWRect(445,1,2,99),url:'WEDDINGS_files/stroke_12.png'},{rect:new IWRect(445,100,2,2),url:'WEDDINGS_files/stroke_13.png'},{rect:new IWRect(1,100,444,2),url:'WEDDINGS_files/stroke_14.png'},{rect:new IWRect(-1,100,2,2),url:'WEDDINGS_files/stroke_15.png'}],new IWSize(446,101)),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,90),url:'WEDDINGS_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'WEDDINGS_files/stroke_1.png'},{rect:new IWRect(2,-2,171,4),url:'WEDDINGS_files/stroke_2.png'},{rect:new IWRect(173,-2,4,4),url:'WEDDINGS_files/stroke_3.png'},{rect:new IWRect(173,2,4,90),url:'WEDDINGS_files/stroke_4.png'},{rect:new IWRect(173,92,4,4),url:'WEDDINGS_files/stroke_5.png'},{rect:new IWRect(2,92,171,4),url:'WEDDINGS_files/stroke_6.png'},{rect:new IWRect(-2,92,4,4),url:'WEDDINGS_files/stroke_7.png'}],new IWSize(175,94))});registry.applyEffects();}
function hostedOnDM()
{return true;}
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('WEDDINGS_files/WEDDINGSMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
detectBrowser();adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}
