// Created by iWeb 3.0.3 local-build-20110316

function createMediaStream_id5()
{return IWCreatePhotocast("http://www.jkreed.com/jkreed/Weddings_files/rss.xml",false);}
function initializeMediaStream_id5()
{createMediaStream_id5().load('http://www.jkreed.com/jkreed',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget2'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id5',{pageIndex:0}));});}
function layoutMediaGrid_id5(range)
{createMediaStream_id5().load('http://www.jkreed.com/jkreed',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id5',new IWPhotoGridLayout(2,new IWSize(359,359),new IWSize(359,0),new IWSize(384,374),27,27,0,new IWSize(22,22)),new IWPhotoFrame([IWCreateImage('Weddings_files/Crayon_BK_v4%20%2801%29.png'),IWCreateImage('Weddings_files/Crayon_BK_v4%20%2802%29.png'),IWCreateImage('Weddings_files/Crayon_BK_v4%20%2803%29.png'),IWCreateImage('Weddings_files/Crayon_BK_v4%20%2805%29.png'),IWCreateImage('Weddings_files/Crayon_BK_v4%20%2808%29.png'),IWCreateImage('Weddings_files/Crayon_BK_v4%20%2807%29.png'),IWCreateImage('Weddings_files/Crayon_BK_v4%20%2806%29.png'),IWCreateImage('Weddings_files/Crayon_BK_v4%20%2804%29.png')],null,0,0.500000,19.000000,19.000000,19.000000,19.000000,41.000000,41.000000,41.000000,41.000000,2.000000,1.000000,2.000000,1.000000,null,null,null,0.100000),imageStream,range,new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),null,1.000000,{backgroundColor:'rgb(93, 249, 45)',reflectionHeight:100,reflectionOffset:2,captionHeight:0,fullScreen:0,transitionIndex:1},'Media/slideshow.html','widget2','widget3','widget4')});}
function relayoutMediaGrid_id5(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id5(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id5(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWEmptyStroke(),stroke_1:new IWEmptyStroke()});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Weddings_files/WeddingsMoz.css')
detectBrowser();adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');NotificationCenter.addObserver(null,relayoutMediaGrid_id5,'RangeChanged','id5')
adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');Widget.onload();fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id2');fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id5()}
function onPageUnload()
{Widget.onunload();}

