// Created by iWeb 2.0.4 local-build-20090220

function createMediaStream_id7()
{return IWCreatePhotocast("http://www.janets50thcelebration.co.uk/Site_3/Wedding_Album_files/rss.xml",true,true);}
function initializeMediaStream_id7()
{createMediaStream_id7().load('http://www.janets50thcelebration.co.uk/Site_3',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id7',{pageIndex:0}));});}
function layoutMediaGrid_id7(range)
{createMediaStream_id7().load('http://www.janets50thcelebration.co.uk/Site_3',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id7',new IWPhotoGridLayout(3,new IWSize(204,204),new IWSize(204,0),new IWSize(204,219),27,27,0,new IWSize(20,20)),new IWPhotoFrame([IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_ul.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_top.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_ur.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_right.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_lr.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_bottom.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_ll.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_left.png')],null,1,0.666667,17.000000,24.000000,17.000000,24.000000,33.000000,38.000000,33.000000,38.000000,40.000000,40.000000,40.000000,40.000000,null,null,null,0.500000),imageStream,range,null,null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id7(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id7(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id7(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id16" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="75" height="16"><param name="src" value="Media/1-13%20Endless%20Love.m4a" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id16" type="video/quicktime" width="75" height="16"><param name="src" value="Media/1-13%20Endless%20Love.m4a"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id16" type="video/quicktime" width="75" height="16" data="Media/1-13%20Endless%20Love.m4a"><param name="src" value="Media/1-13%20Endless%20Love.m4a"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWPhotoFrame([IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_ul.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_top.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_ur.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_right.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_lr.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_bottom.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_ll.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Highlighter/highlighter_left.png')],null,1,0.900000,17.000000,24.000000,17.000000,24.000000,33.000000,38.000000,33.000000,38.000000,40.000000,40.000000,40.000000,40.000000,null,null,null,0.500000),stroke_1:new IWEmptyStroke(),reflection_0:new IWReflection({opacity:0.50,offset:14.00})});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('Wedding_Album_files/Wedding_AlbumMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');NotificationCenter.addObserver(null,relayoutMediaGrid_id7,'RangeChanged','id7')
detectBrowser();adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id7()}
function onPageUnload()
{Widget.onunload();}
