// Created by iWeb 2.0.4 local-build-20100807

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.mayfieldyouthfacilities.org/KICC/Photo_Album_files/rss.xml",true,true);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.mayfieldyouthfacilities.org/KICC',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.mayfieldyouthfacilities.org/KICC',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(165,165),new IWSize(165,48),new IWSize(204,228),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-1,1,2,163),url:'Photo_Album_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Photo_Album_files/stroke_1.png'},{rect:new IWRect(1,-1,163,2),url:'Photo_Album_files/stroke_2.png'},{rect:new IWRect(164,-1,2,2),url:'Photo_Album_files/stroke_3.png'},{rect:new IWRect(164,1,2,163),url:'Photo_Album_files/stroke_4.png'},{rect:new IWRect(164,164,2,2),url:'Photo_Album_files/stroke_5.png'},{rect:new IWRect(1,164,163,2),url:'Photo_Album_files/stroke_6.png'},{rect:new IWRect(-1,164,2,2),url:'Photo_Album_files/stroke_7.png'}],new IWSize(165,165)),imageStream,range,new IWShadow({blurRadius:27,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),null,1.000000,{backgroundColor:'#000000',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);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_1:new IWShadow({blurRadius:16,offset:new IWPoint(11.1432,6.6955),color:'#000000',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:18,offset:new IWPoint(17.6190,14.7841),color:'#000000',opacity:0.750000})});registry.applyEffects();}
function hostedOnDM()
{return false;}
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('Photo_Album_files/Photo_AlbumMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
fixAllIEPNGs('Media/transparent.gif');fixupAllIEPNGBGs();Widget.onload();IMpreload('Photo_Album_files','shapeimage_4','0');IMpreload('Photo_Album_files','shapeimage_4','1');IMpreload('Photo_Album_files','shapeimage_4','2');IMpreload('Photo_Album_files','shapeimage_4','3');IMpreload('Photo_Album_files','shapeimage_4','4');IMpreload('Photo_Album_files','shapeimage_4','5');IMpreload('Photo_Album_files','shapeimage_4','6');IMpreload('Photo_Album_files','shapeimage_4','7');IMpreload('Photo_Album_files','shapeimage_4','8');IMpreload('Photo_Album_files','shapeimage_4','9');fixupIECSS3Opacity('id3');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}
