// Created by iWeb 3.0.3 local-build-20110429

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.flagshipdetroit.org/FSD/Photos2007_files/rss.xml",false);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.flagshipdetroit.org/FSD',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.flagshipdetroit.org/FSD',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(158,158),new IWSize(158,42),new IWSize(189,215),27,27,0,new IWSize(0,0)),new IWEmptyStroke(),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(4.7740,5.1195),color:'#999999',opacity:0.780000}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:1,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=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({shadow_4:new IWShadow({blurRadius:4,offset:new IWPoint(2.6765,2.9726),color:'#000000',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:4,offset:new IWPoint(2.6765,2.9726),color:'#000000',opacity:0.750000}),shadow_2:new IWShadow({blurRadius:5,offset:new IWPoint(-1.4863,1.3383),color:'#000000',opacity:0.650000}),shadow_3:new IWShadow({blurRadius:4,offset:new IWPoint(2.6765,2.9726),color:'#000000',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(5.5919,8.2904),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')
loadMozillaCSS('Photos2007_files/Photos2007Moz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');IMpreload('Photos2007_files','shapeimage_5','0');IMpreload('Photos2007_files','shapeimage_5','1');IMpreload('Photos2007_files','shapeimage_5','2');IMpreload('Photos2007_files','shapeimage_5','3');IMpreload('Photos2007_files','shapeimage_5','4');IMpreload('Photos2007_files','shapeimage_5','5');IMpreload('Photos2007_files','shapeimage_5','6');IMpreload('Photos2007_files','shapeimage_5','7');IMpreload('Photos2007_files','shapeimage_5','8');IMpreload('Photos2007_files','shapeimage_5','9');IMpreload('Photos2007_files','shapeimage_5','10');IMpreload('Photos2007_files','shapeimage_5','11');IMpreload('Photos2007_files','shapeimage_5','12');IMpreload('Photos2007_files','shapeimage_5','13');Widget.onload();IMpreload('Photos2007_files','shapeimage_7','0');IMpreload('Photos2007_files','shapeimage_7','1');IMpreload('Photos2007_files','shapeimage_7','2');IMpreload('Photos2007_files','shapeimage_7','3');IMpreload('Photos2007_files','shapeimage_7','4');IMpreload('Photos2007_files','shapeimage_7','5');IMpreload('Photos2007_files','shapeimage_7','6');IMpreload('Photos2007_files','shapeimage_7','7');IMpreload('Photos2007_files','shapeimage_7','8');IMpreload('Photos2007_files','shapeimage_7','9');IMpreload('Photos2007_files','shapeimage_7','10');IMpreload('Photos2007_files','shapeimage_8','0');IMpreload('Photos2007_files','shapeimage_8','1');IMpreload('Photos2007_files','shapeimage_8','2');IMpreload('Photos2007_files','shapeimage_8','3');IMpreload('Photos2007_files','shapeimage_8','4');IMpreload('Photos2007_files','shapeimage_8','5');IMpreload('Photos2007_files','shapeimage_8','6');IMpreload('Photos2007_files','shapeimage_8','7');IMpreload('Photos2007_files','shapeimage_8','8');IMpreload('Photos2007_files','shapeimage_8','9');IMpreload('Photos2007_files','shapeimage_8','10');IMpreload('Photos2007_files','shapeimage_8','11');IMpreload('Photos2007_files','shapeimage_8','12');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

