// Created by iWeb 3.0.1 local-build-20091030

function createMediaStream_id6()
{return IWCreatePhotocast("http://www.BrooksHomes.com/brookshomes.com/Brier_Estate_files/rss.xml",false);}
function initializeMediaStream_id6()
{createMediaStream_id6().load('http://www.BrooksHomes.com/brookshomes.com',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget2'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id6',{pageIndex:0}));});}
function layoutMediaGrid_id6(range)
{createMediaStream_id6().load('http://www.BrooksHomes.com/brookshomes.com',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id6',new IWPhotoGridLayout(3,new IWSize(138,138),new IWSize(138,0),new IWSize(163,153),27,27,0,new IWSize(10,10)),new IWPhotoFrame([IWCreateImage('Brier_Estate_files/Hardcover_bevel_01.png'),IWCreateImage('Brier_Estate_files/Hardcover_bevel_02.png'),IWCreateImage('Brier_Estate_files/Hardcover_bevel_03.png'),IWCreateImage('Brier_Estate_files/Hardcover_bevel_06.png'),IWCreateImage('Brier_Estate_files/Hardcover_bevel_09.png'),IWCreateImage('Brier_Estate_files/Hardcover_bevel_08.png'),IWCreateImage('Brier_Estate_files/Hardcover_bevel_07.png'),IWCreateImage('Brier_Estate_files/Hardcover_bevel_04.png')],null,0,0.266667,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,17.000000,403.000000,295.000000,403.000000,295.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget2','widget3','widget4')});}
function relayoutMediaGrid_id6(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id6(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(0.2094,5.9963),color:'#000000',opacity:0.750000}),stroke_2:new IWStrokeParts([{rect:new IWRect(-5,5,10,288),url:'Brier_Estate_files/stroke_8.png'},{rect:new IWRect(-5,-5,10,10),url:'Brier_Estate_files/stroke_9.png'},{rect:new IWRect(5,-5,253,10),url:'Brier_Estate_files/stroke_10.png'},{rect:new IWRect(258,-5,10,10),url:'Brier_Estate_files/stroke_11.png'},{rect:new IWRect(258,5,10,288),url:'Brier_Estate_files/stroke_12.png'},{rect:new IWRect(258,293,10,10),url:'Brier_Estate_files/stroke_13.png'},{rect:new IWRect(5,293,253,10),url:'Brier_Estate_files/stroke_14.png'},{rect:new IWRect(-5,293,10,10),url:'Brier_Estate_files/stroke_15.png'}],new IWSize(263,298)),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(0.2094,5.9963),color:'#999999',opacity:0.750000}),stroke_0:new IWEmptyStroke(),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(-2,2,4,148),url:'Brier_Estate_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Brier_Estate_files/stroke_1.png'},{rect:new IWRect(2,-2,186,4),url:'Brier_Estate_files/stroke_2.png'},{rect:new IWRect(188,-2,4,4),url:'Brier_Estate_files/stroke_3.png'},{rect:new IWRect(188,2,4,148),url:'Brier_Estate_files/stroke_4.png'},{rect:new IWRect(188,150,4,4),url:'Brier_Estate_files/stroke_5.png'},{rect:new IWRect(2,150,186,4),url:'Brier_Estate_files/stroke_6.png'},{rect:new IWRect(-2,150,4,4),url:'Brier_Estate_files/stroke_7.png'}],new IWSize(190,152)),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(-1.1449,-5.8898),color:'#000000',opacity:0.750000}),shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(5.3928,2.6302),color:'#333333',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('Brier_Estate_files/Brier_EstateMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');detectBrowser();adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');NotificationCenter.addObserver(null,relayoutMediaGrid_id6,'RangeChanged','id6')
adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id6()}
function onPageUnload()
{Widget.onunload();}

