// Created by iWeb 3.0.1 local-build-20090829

function createMediaStream_id7()
{return IWCreateMediaCollection("http://www.heartwoodcohousing.com/HW/PHOTOS/PHOTOS_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id7()
{createMediaStream_id7().load('http://www.heartwoodcohousing.com/HW/PHOTOS',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget8'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id7',{pageIndex:0}));});}
function layoutMediaGrid_id7(range)
{createMediaStream_id7().load('http://www.heartwoodcohousing.com/HW/PHOTOS',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id7',new IWPhotoGridLayout(3,new IWSize(245,184),new IWSize(245,37),new IWSize(263,236),27,27,0,new IWSize(26,25)),new IWPhotoFrame([IWCreateImage('PHOTOS_files/Rosewood_01.png'),IWCreateImage('PHOTOS_files/Rosewood_02.png'),IWCreateImage('PHOTOS_files/Rosewood_03.png'),IWCreateImage('PHOTOS_files/Rosewood_06.png'),IWCreateImage('PHOTOS_files/Rosewood_09.png'),IWCreateImage('PHOTOS_files/Rosewood_08.png'),IWCreateImage('PHOTOS_files/Rosewood_07.png'),IWCreateImage('PHOTOS_files/Rosewood_04.png')],null,2,0.466667,0.000000,0.000000,0.000000,0.000000,26.000000,24.000000,26.000000,27.000000,79.000000,105.000000,79.000000,105.000000,null,null,null,0.400000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget8',null,'widget9',{showTitle:true,showMetric:true})});}
function relayoutMediaGrid_id7(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id7(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id7(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_5:new IWShadow({blurRadius:10,offset:new IWPoint(5.6569,5.6569),color:'#000000',opacity:0.750000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,25),url:'PHOTOS_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'PHOTOS_files/stroke_1.png'},{rect:new IWRect(1,-1,800,2),url:'PHOTOS_files/stroke_2.png'},{rect:new IWRect(801,-1,2,2),url:'PHOTOS_files/stroke_3.png'},{rect:new IWRect(801,1,2,25),url:'PHOTOS_files/stroke_4.png'},{rect:new IWRect(801,26,2,2),url:'PHOTOS_files/stroke_5.png'},{rect:new IWRect(1,26,800,2),url:'PHOTOS_files/stroke_6.png'},{rect:new IWRect(-1,26,2,2),url:'PHOTOS_files/stroke_7.png'}],new IWSize(802,27)),shadow_0:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.500000}),shadow_2:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.500000}),shadow_3:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.500000}),shadow_4:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.500000}),shadow_1:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',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('PHOTOS_files/PHOTOSMoz.css')
detectBrowser();adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');NotificationCenter.addObserver(null,relayoutMediaGrid_id7,'RangeChanged','id7')
Widget.onload();fixAllIEPNGs('../Media/transparent.gif');IMpreload('PHOTOS_files','shapeimage_2','0');IMpreload('PHOTOS_files','shapeimage_7','0');IMpreload('PHOTOS_files','shapeimage_8','0');IMpreload('PHOTOS_files','shapeimage_9','0');IMpreload('PHOTOS_files','shapeimage_10','0');fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id7()}
function onPageUnload()
{Widget.onunload();}
