// Created by iWeb 2.0.4 local-build-20090409

function createMediaStream_id3()
{return IWCreatePhotocast("http://www.tewvideo.com/New_Life/New_Life_Childrens_Ministry_files/rss.xml",true,true);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.tewvideo.com/New_Life',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.tewvideo.com/New_Life',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(3,new IWSize(204,204),new IWSize(204,0),new IWSize(211,219),27,27,0,new IWSize(22,21)),new IWPhotoFrame([IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime/kid_frame-1_01.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime/kid_frame-1_02.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime/kid_frame-1_03.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime/kid_frame-1_06.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime/kid_frame-1_09.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime/kid_frame-1_08.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime/kid_frame-1_07.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime/kid_frame-1_04.png')],null,0,0.833333,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:'#8bc145',reflectionHeight:100,reflectionOffset:2,captionHeight:0,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({reflection_0:new IWReflection({opacity:0.50,offset:1.00}),stroke_0:new IWPhotoFrame([IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime_waves/Playtime_waves_01.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime_waves/Playtime_waves_02.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime_waves/Playtime_waves_03.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime_waves/Playtime_waves_06.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime_waves/Playtime_waves_09.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime_waves/Playtime_waves_08.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime_waves/Playtime_waves_07.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Playtime_waves/Playtime_waves_04.png')],null,0,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,18.000000,1.000000,1.000000,43.000000,554.000000,43.000000,554.000000,null,null,null,0.500000),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,2.0000),color:'#000000',opacity:0.600000})});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('New_Life_Childrens_Ministry_files/New_Life_Childrens_MinistryMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');detectBrowser();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
