// Created by iWeb 2.0.4 local-build-20090912

function createMediaStream_id2()
{return IWCreateMediaCollection("file://localhost/Users/rutter/Sites/_TEMP_PUBLISH%20HERE/20090912/Kimberley_and_Ryans_Wedding_Website/photo-albums/photo-albums_files/rss.xml",true,9,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('file://localhost/Users/rutter/Sites/_TEMP_PUBLISH%20HERE/20090912/Kimberley_and_Ryans_Wedding_Website/photo-albums',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget6'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('file://localhost/Users/rutter/Sites/_TEMP_PUBLISH%20HERE/20090912/Kimberley_and_Ryans_Wedding_Website/photo-albums',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(202,152),new IWSize(202,31),new IWSize(202,198),27,27,0,new IWSize(10,21)),new IWPhotoFrame([IWCreateImage('photo-albums_files/Pushpin_01.jpg'),IWCreateImage('photo-albums_files/Pushpin_02.jpg'),IWCreateImage('photo-albums_files/Pushpin_03.jpg'),IWCreateImage('photo-albums_files/Pushpin_06.jpg'),IWCreateImage('photo-albums_files/Pushpin_09.jpg'),IWCreateImage('photo-albums_files/Pushpin_02.jpg'),IWCreateImage('photo-albums_files/Pushpin_03.jpg'),IWCreateImage('photo-albums_files/Pushpin_04.jpg')],null,1,0.261404,0.000000,0.000000,0.000000,0.000000,18.000000,18.000000,18.000000,18.000000,298.000000,472.000000,298.000000,472.000000,'photo-albums_files/bullet_pp_3.png',new IWPoint(0.500000,-10),new IWSize(45,65),0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget6',null,'widget7',{showTitle:false,showMetric:false})});}
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_0:new IWPhotoFrame([IWCreateImage('photo-albums_files/Modern_C_TL.png'),IWCreateImage('photo-albums_files/Modern_S_T.png'),IWCreateImage('photo-albums_files/Modern_C_TR.png'),IWCreateImage('photo-albums_files/Modern_S_R.png'),IWCreateImage('photo-albums_files/Modern_C_BR.png'),IWCreateImage('photo-albums_files/Modern_S_B.png'),IWCreateImage('photo-albums_files/Modern_C_BL.png'),IWCreateImage('photo-albums_files/Modern_S_L.png')],null,2,0.644737,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,20.000000,40.000000,40.000000,40.000000,240.000000,null,null,null,0.100000)});registry.applyEffects();}
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('photo-albums_files/photo-albumsMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');Widget.onload();fixAllIEPNGs('../Media/transparent.gif');fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

