// Created by iWeb 3.0.1 local-build-20090825

function createMediaStream_id4()
{return IWCreatePhotocast("http://www.BrooksHomes.com/brookshomes.com/Campbell_Court_files/rss.xml",false);}
function initializeMediaStream_id4()
{createMediaStream_id4().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','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://www.BrooksHomes.com/brookshomes.com',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(3,new IWSize(147,147),new IWSize(147,0),new IWSize(163,162),27,27,0,new IWSize(10,10)),new IWPhotoFrame([IWCreateImage('Campbell_Court_files/Hardcover_bevel_01.png'),IWCreateImage('Campbell_Court_files/Hardcover_bevel_02.png'),IWCreateImage('Campbell_Court_files/Hardcover_bevel_03.png'),IWCreateImage('Campbell_Court_files/Hardcover_bevel_06.png'),IWCreateImage('Campbell_Court_files/Hardcover_bevel_09.png'),IWCreateImage('Campbell_Court_files/Hardcover_bevel_08.png'),IWCreateImage('Campbell_Court_files/Hardcover_bevel_07.png'),IWCreateImage('Campbell_Court_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_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(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}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(0.2094,5.9963),color:'#999999',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(-1.1449,-5.8898),color:'#000000',opacity:0.750000}),shadow_3:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(5.3928,2.6302),color:'#333333',opacity:0.750000}),stroke_1:new IWStrokeParts([{rect:new IWRect(-2,2,4,148),url:'Campbell_Court_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Campbell_Court_files/stroke_1.png'},{rect:new IWRect(2,-2,155,4),url:'Campbell_Court_files/stroke_2.png'},{rect:new IWRect(157,-2,4,4),url:'Campbell_Court_files/stroke_3.png'},{rect:new IWRect(157,2,4,148),url:'Campbell_Court_files/stroke_4.png'},{rect:new IWRect(157,150,4,4),url:'Campbell_Court_files/stroke_5.png'},{rect:new IWRect(2,150,155,4),url:'Campbell_Court_files/stroke_6.png'},{rect:new IWRect(-2,150,4,4),url:'Campbell_Court_files/stroke_7.png'}],new IWSize(159,152)),stroke_2:new IWStrokeParts([{rect:new IWRect(-5,5,10,288),url:'Campbell_Court_files/stroke_8.png'},{rect:new IWRect(-5,-5,10,10),url:'Campbell_Court_files/stroke_9.png'},{rect:new IWRect(5,-5,253,10),url:'Campbell_Court_files/stroke_10.png'},{rect:new IWRect(258,-5,10,10),url:'Campbell_Court_files/stroke_11.png'},{rect:new IWRect(258,5,10,288),url:'Campbell_Court_files/stroke_12.png'},{rect:new IWRect(258,293,10,10),url:'Campbell_Court_files/stroke_13.png'},{rect:new IWRect(5,293,253,10),url:'Campbell_Court_files/stroke_14.png'},{rect:new IWRect(-5,293,10,10),url:'Campbell_Court_files/stroke_15.png'}],new IWSize(263,298)),stroke_0:new IWEmptyStroke()});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('Campbell_Court_files/Campbell_CourtMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');detectBrowser();NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('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');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}

