// Created by iWeb 3.0.1 local-build-20100818

function createMediaStream_id1()
{return IWCreatePhotocast("http://www.flagshipdetroit.org/FSD/Restoration_files/rss.xml",false);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.flagshipdetroit.org/FSD',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://www.flagshipdetroit.org/FSD',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(3,new IWSize(185,185),new IWSize(185,32),new IWSize(206,232),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-3,-1,2,187),url:'Restoration_files/stroke.png'},{rect:new IWRect(-3,-3,2,2),url:'Restoration_files/stroke_1.png'},{rect:new IWRect(-1,-3,187,2),url:'Restoration_files/stroke_2.png'},{rect:new IWRect(186,-3,2,2),url:'Restoration_files/stroke_3.png'},{rect:new IWRect(186,-1,2,187),url:'Restoration_files/stroke_4.png'},{rect:new IWRect(186,186,2,2),url:'Restoration_files/stroke_5.png'},{rect:new IWRect(-1,186,187,2),url:'Restoration_files/stroke_6.png'},{rect:new IWRect(-3,186,2,2),url:'Restoration_files/stroke_7.png'}],new IWSize(185,185)),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(5.6569,5.6569),color:'#000000',opacity:0.750000}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:9},'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:4,offset:new IWPoint(2.6765,2.9726),color:'#000000',opacity:0.750000}),shadow_2:new IWShadow({blurRadius:4,offset:new IWPoint(2.6765,2.9726),color:'#000000',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:5,offset:new IWPoint(-1.4863,1.3383),color:'#000000',opacity:0.650000})});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('Restoration_files/RestorationMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');Widget.onload();IMpreload('Restoration_files','shapeimage_6','0');IMpreload('Restoration_files','shapeimage_6','1');IMpreload('Restoration_files','shapeimage_7','0');IMpreload('Restoration_files','shapeimage_7','1');IMpreload('Restoration_files','shapeimage_8','0');IMpreload('Restoration_files','shapeimage_8','1');IMpreload('Restoration_files','shapeimage_8','2');IMpreload('Restoration_files','shapeimage_8','3');IMpreload('Restoration_files','shapeimage_8','4');IMpreload('Restoration_files','shapeimage_8','5');IMpreload('Restoration_files','shapeimage_8','6');IMpreload('Restoration_files','shapeimage_8','7');IMpreload('Restoration_files','shapeimage_8','8');IMpreload('Restoration_files','shapeimage_8','9');IMpreload('Restoration_files','shapeimage_8','10');IMpreload('Restoration_files','shapeimage_8','11');IMpreload('Restoration_files','shapeimage_9','0');IMpreload('Restoration_files','shapeimage_9','1');IMpreload('Restoration_files','shapeimage_9','2');IMpreload('Restoration_files','shapeimage_9','3');IMpreload('Restoration_files','shapeimage_9','4');IMpreload('Restoration_files','shapeimage_9','5');IMpreload('Restoration_files','shapeimage_9','6');IMpreload('Restoration_files','shapeimage_9','7');IMpreload('Restoration_files','shapeimage_9','8');IMpreload('Restoration_files','shapeimage_9','9');IMpreload('Restoration_files','shapeimage_9','10');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}
