// Created by iWeb 3.0.3 local-build-20110509

function createMediaStream_id2()
{return IWCreateMediaCollection("http://www.blueridgechristiancolumbia.org/blueridgechristiancolumbia.org/Childrens_Ministry/Childrens_Ministry_files/rss.xml",true,9,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.blueridgechristiancolumbia.org/blueridgechristiancolumbia.org/Childrens_Ministry',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget4'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.blueridgechristiancolumbia.org/blueridgechristiancolumbia.org/Childrens_Ministry',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(2,new IWSize(299,224),new IWSize(299,51),new IWSize(323,290),27,27,0,new IWSize(50,51)),new IWPhotoFrame([IWCreateImage('Childrens_Ministry_files/kids_ul.png'),IWCreateImage('Childrens_Ministry_files/kids_top.jpg'),IWCreateImage('Childrens_Ministry_files/kids_ur.png'),IWCreateImage('Childrens_Ministry_files/kids_right.png'),IWCreateImage('Childrens_Ministry_files/kids_lr.png'),IWCreateImage('Childrens_Ministry_files/kids_bottom.png'),IWCreateImage('Childrens_Ministry_files/kids_ll.png'),IWCreateImage('Childrens_Ministry_files/kids_left.png')],null,0,0.500000,118.000000,0.000000,132.000000,0.000000,174.000000,44.000000,176.000000,58.000000,60.000000,63.000000,60.000000,63.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget4',null,'widget5',{showTitle:true,showMetric:true})});}
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();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWPhotoFrame([IWCreateImage('Childrens_Ministry_files/Modern_C_TL.png'),IWCreateImage('Childrens_Ministry_files/Modern_S_T.png'),IWCreateImage('Childrens_Ministry_files/Modern_C_TR.png'),IWCreateImage('Childrens_Ministry_files/Modern_S_R.png'),IWCreateImage('Childrens_Ministry_files/Modern_C_BR.png'),IWCreateImage('Childrens_Ministry_files/Modern_S_B.png'),IWCreateImage('Childrens_Ministry_files/Modern_C_BL.png'),IWCreateImage('Childrens_Ministry_files/Modern_S_L.png')],null,2,0.700000,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,20.000000,40.000000,40.000000,40.000000,240.000000,null,null,null,0.100000),shadow_5:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_0: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_2: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_3:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.920000})});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('Childrens_Ministry_files/Childrens_MinistryMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

