// Created by iWeb 3.0.3 local-build-20110830

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.emmanueldayschool.org/EDS/Photos_files/rss.xml",true);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.emmanueldayschool.org/EDS',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.emmanueldayschool.org/EDS',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(136,136),new IWSize(136,0),new IWSize(163,151),27,27,0,new IWSize(18,17)),new IWPhotoFrame([IWCreateImage('Photos_files/kid_frame-1_01.jpg'),IWCreateImage('Photos_files/kid_frame-1_02.jpg'),IWCreateImage('Photos_files/kid_frame-1_03.jpg'),IWCreateImage('Photos_files/kid_frame-1_06.jpg'),IWCreateImage('Photos_files/kid_frame-1_09.jpg'),IWCreateImage('Photos_files/kid_frame-1_08.jpg'),IWCreateImage('Photos_files/kid_frame-1_07.jpg'),IWCreateImage('Photos_files/kid_frame-1_04.jpg')],null,0,0.666667,0.000000,0.000000,0.000000,0.000000,13.000000,13.000000,13.000000,12.000000,121.000000,120.000000,121.000000,120.000000,null,null,null,0.500000),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,2.0000),color:'#000000',opacity:0.600000}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,2.0000),color:'#000000',opacity:0.600000}),shadow_8:new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,2.0000),color:'#000000',opacity:0.600000}),shadow_3:new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,2.0000),color:'#000000',opacity:0.600000}),stroke_0:new IWPhotoFrame([IWCreateImage('Photos_files/Playtime_blue_hills_01.png'),IWCreateImage('Photos_files/Playtime_blue_hills_02.png'),IWCreateImage('Photos_files/Playtime_blue_hills_03.png'),IWCreateImage('Photos_files/Playtime_blue_hills_06.jpg'),IWCreateImage('Photos_files/Playtime_blue_hills_09.png'),IWCreateImage('Photos_files/Playtime_blue_hills_08.png'),IWCreateImage('Photos_files/Playtime_blue_hills_07.png'),IWCreateImage('Photos_files/Playtime_blue_hills_04.png')],null,2,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,25.000000,1.000000,10.000000,355.000000,229.000000,355.000000,229.000000,null,null,null,0.500000),shadow_7:new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,2.0000),color:'#000000',opacity:0.600000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,2.0000),color:'#000000',opacity:0.600000}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,2.0000),color:'#000000',opacity:0.600000}),shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,2.0000),color:'#000000',opacity:0.600000}),shadow_5:new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,2.0000),color:'#000000',opacity:0.600000}),shadow_6:new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,2.0000),color:'#000000',opacity:0.600000})});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('Photos_files/PhotosMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

