// Created by iWeb 3.0.2 local-build-20110221

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.simeonlloyd.org.uk/WeddingBlissMagazine/Magazine-Download_files/rss.xml",false);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.simeonlloyd.org.uk/WeddingBlissMagazine',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.simeonlloyd.org.uk/WeddingBlissMagazine',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(4,new IWSize(177,177),new IWSize(177,16),new IWSize(218,208),27,27,0,new IWSize(14,19)),new IWPhotoFrame([IWCreateImage('Magazine-Download_files/FormalShadow_01.png'),IWCreateImage('Magazine-Download_files/FormalShadow_02.png'),IWCreateImage('Magazine-Download_files/FormalShadow_03.png'),IWCreateImage('Magazine-Download_files/FormalShadow_06.png'),IWCreateImage('Magazine-Download_files/FormalShadow_12.png'),IWCreateImage('Magazine-Download_files/FormalShadow_11.png'),IWCreateImage('Magazine-Download_files/FormalShadow_10.png'),IWCreateImage('Magazine-Download_files/FormalShadow_04.png')],null,2,0.423684,1.000000,5.000000,1.000000,4.000000,17.000000,17.000000,17.000000,36.000000,4.000000,837.000000,4.000000,837.000000,null,null,null,0.100000),imageStream,range,new IWShadow({blurRadius:9,offset:new IWPoint(5.6569,5.6569),color:'#000000',opacity:0.750000}),null,1.000000,{backgroundColor:'rgb(255, 255, 255)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:6},'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=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id4" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="638" height="16" style="height: 16px; left: 136px; position: absolute; top: 3940px; width: 638px; z-index: 1; "><param name="src" value="Media/WeddingSong-1.mp3" /><param name="controller" value="true" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="51" /><param name="loop" value="true" /></object>');}
else if(isiPhone)
{document.write('<object id="id4" type="video/quicktime" width="638" height="16" style="height: 16px; left: 136px; position: absolute; top: 3940px; width: 638px; z-index: 1; "><param name="src" value="Media/WeddingSong-1.mp3"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id4" type="video/quicktime" width="638" height="16" data="Media/WeddingSong-1.mp3" style="height: 16px; left: 136px; position: absolute; top: 3940px; width: 638px; z-index: 1; "><param name="src" value="Media/WeddingSong-1.mp3"/><param name="controller" value="true"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="51"/><param name="loop" value="true"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_1:new IWPhotoFrame([IWCreateImage('Magazine-Download_files/Pinstripe_01.png'),IWCreateImage('Magazine-Download_files/Pinstripe_02.png'),IWCreateImage('Magazine-Download_files/Pinstripe_03.png'),IWCreateImage('Magazine-Download_files/Pinstripe_06.png'),IWCreateImage('Magazine-Download_files/Pinstripe_09.png'),IWCreateImage('Magazine-Download_files/Pinstripe_08.png'),IWCreateImage('Magazine-Download_files/Pinstripe_07.png'),IWCreateImage('Magazine-Download_files/Pinstripe_04.png')],null,2,1.000000,8.000000,8.000000,8.000000,8.000000,23.000000,23.000000,23.000000,23.000000,433.000000,319.000000,433.000000,319.000000,null,null,null,0.100000),stroke_0:new IWEmptyStroke()});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Magazine-Download_files/Magazine-DownloadMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');detectBrowser();adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

