// Created by iWeb 3.0.1 local-build-20100706

function createMediaStream_id1()
{return IWCreatePhotocast("http://leap-lanesville.org/LEAP/2009_Photos_files/rss.xml",true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://leap-lanesville.org/LEAP',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://leap-lanesville.org/LEAP',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(244,244),new IWSize(244,72),new IWSize(244,331),27,27,0,new IWSize(15,17)),new IWPhotoFrame([IWCreateImage('2009_Photos_files/Freestyle_01.png'),IWCreateImage('2009_Photos_files/Freestyle_02.png'),IWCreateImage('2009_Photos_files/Freestyle_03.png'),IWCreateImage('2009_Photos_files/Freestyle_06.png'),IWCreateImage('2009_Photos_files/Freestyle_09.png'),IWCreateImage('2009_Photos_files/Freestyle_08.png'),IWCreateImage('2009_Photos_files/Freestyle_07.png'),IWCreateImage('2009_Photos_files/Freestyle_04.png')],null,2,0.407895,3.000000,3.000000,3.000000,3.000000,22.000000,24.000000,23.000000,25.000000,166.000000,222.000000,166.000000,222.000000,null,null,null,0.100000),imageStream,range,new IWShadow({blurRadius:2,offset:new IWPoint(6.3640,6.3640),color:'#463c3c',opacity:0.300000}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_1:new IWShadow({blurRadius:1,offset:new IWPoint(0.7071,0.7071),color:'#ffffff',opacity:1.000000}),shadow_0:new IWShadow({blurRadius:1,offset:new IWPoint(0.0000,0.0000),color:'#463c3c',opacity:0.500000})});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('2009_Photos_files/2009_PhotosMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
detectBrowser();Widget.onload();fixAllIEPNGs('Media/transparent.gif');IMpreload('2009_Photos_files','shapeimage_2','0');IMpreload('2009_Photos_files','shapeimage_2','1');IMpreload('2009_Photos_files','shapeimage_2','2');IMpreload('2009_Photos_files','shapeimage_2','3');IMpreload('2009_Photos_files','shapeimage_2','4');IMpreload('2009_Photos_files','shapeimage_2','5');IMpreload('2009_Photos_files','shapeimage_2','6');IMpreload('2009_Photos_files','shapeimage_2','7');IMpreload('2009_Photos_files','shapeimage_2','8');IMpreload('2009_Photos_files','shapeimage_2','9');IMpreload('2009_Photos_files','shapeimage_2','10');IMpreload('2009_Photos_files','shapeimage_2','11');IMpreload('2009_Photos_files','shapeimage_2','12');IMpreload('2009_Photos_files','shapeimage_2','13');IMpreload('2009_Photos_files','shapeimage_2','14');IMpreload('2009_Photos_files','shapeimage_2','15');IMpreload('2009_Photos_files','shapeimage_2','16');IMpreload('2009_Photos_files','shapeimage_2','17');IMpreload('2009_Photos_files','shapeimage_2','18');IMpreload('2009_Photos_files','shapeimage_2','19');IMpreload('2009_Photos_files','shapeimage_2','20');IMpreload('2009_Photos_files','shapeimage_2','21');IMpreload('2009_Photos_files','shapeimage_2','22');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}
