// Created by iWeb 2.0.4 local-build-20090818

function createMediaStream_id3()
{return IWCreateMediaCollection("http://www.historicpropertiesassociates.com/Mid_Atlantic_Real_Estate/Historic_Properties_Associates/Historic_Properties_Associates_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.historicpropertiesassociates.com/Mid_Atlantic_Real_Estate/Historic_Properties_Associates',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget4'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.historicpropertiesassociates.com/Mid_Atlantic_Real_Estate/Historic_Properties_Associates',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(2,new IWSize(163,122),new IWSize(163,41),new IWSize(244,178),27,27,0,new IWSize(16,16)),new IWPhotoFrame([IWCreateImage('Historic_Properties_Associates_files/Crayon_BK_v4%20%2801%29.png'),IWCreateImage('Historic_Properties_Associates_files/Crayon_BK_v4%20%2802%29.png'),IWCreateImage('Historic_Properties_Associates_files/Crayon_BK_v4%20%2803%29.png'),IWCreateImage('Historic_Properties_Associates_files/Crayon_BK_v4%20%2805%29.png'),IWCreateImage('Historic_Properties_Associates_files/Crayon_BK_v4%20%2808%29.png'),IWCreateImage('Historic_Properties_Associates_files/Crayon_BK_v4%20%2807%29.png'),IWCreateImage('Historic_Properties_Associates_files/Crayon_BK_v4%20%2806%29.png'),IWCreateImage('Historic_Properties_Associates_files/Crayon_BK_v4%20%2804%29.png')],null,0,0.344737,19.000000,19.000000,19.000000,19.000000,41.000000,41.000000,41.000000,41.000000,2.000000,1.000000,2.000000,1.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget4',null,'widget5',{showTitle:false,showMetric:false})});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_3:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_1:new IWStrokeParts([{rect:new IWRect(-10,10,20,267),url:'Historic_Properties_Associates_files/stroke.png'},{rect:new IWRect(-10,-10,20,20),url:'Historic_Properties_Associates_files/stroke_1.png'},{rect:new IWRect(10,-10,408,20),url:'Historic_Properties_Associates_files/stroke_2.png'},{rect:new IWRect(418,-10,20,20),url:'Historic_Properties_Associates_files/stroke_3.png'},{rect:new IWRect(418,10,20,267),url:'Historic_Properties_Associates_files/stroke_4.png'},{rect:new IWRect(418,277,20,21),url:'Historic_Properties_Associates_files/stroke_5.png'},{rect:new IWRect(10,277,408,21),url:'Historic_Properties_Associates_files/stroke_6.png'},{rect:new IWRect(-10,277,20,21),url:'Historic_Properties_Associates_files/stroke_7.png'}],new IWSize(428,287)),stroke_2:new IWEmptyStroke(),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:3,offset:new IWPoint(0.1736,0.9848),color:'#817b67',opacity:0.700000}),stroke_0:new IWEmptyStroke(),stroke_3:new IWEmptyStroke(),stroke_4:new IWEmptyStroke()});registry.applyEffects();}
function hostedOnDM()
{return true;}
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('Historic_Properties_Associates_files/Historic_Properties_AssociatesMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');detectBrowser();adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');fixAllIEPNGs('../Media/transparent.gif');IMpreload('Historic_Properties_Associates_files','shapeimage_1','0');fixupAllIEPNGBGs();Widget.onload();fixupIECSS3Opacity('id13');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
