// Created by iWeb 3.0.1 local-build-20100531

function createMediaStream_id16()
{return IWCreateMediaCollection("http://www.estradasgroup.com/RE/Featured_homes/Featured_homes_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id16()
{createMediaStream_id16().load('http://www.estradasgroup.com/RE/Featured_homes',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget4'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id16',{pageIndex:0}));});}
function layoutMediaGrid_id16(range)
{createMediaStream_id16().load('http://www.estradasgroup.com/RE/Featured_homes',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id16',new IWPhotoGridLayout(2,new IWSize(247,185),new IWSize(247,32),new IWSize(309,232),27,27,0,new IWSize(24,25)),new IWPhotoFrame([IWCreateImage('Featured_homes_files/techblack-frame_01.png'),IWCreateImage('Featured_homes_files/techblack-frame_02.png'),IWCreateImage('Featured_homes_files/techblack-frame_03.png'),IWCreateImage('Featured_homes_files/techblack-frame_06.png'),IWCreateImage('Featured_homes_files/techblack-frame_09.png'),IWCreateImage('Featured_homes_files/techblack-frame_08.png'),IWCreateImage('Featured_homes_files/techblack-frame_07.png'),IWCreateImage('Featured_homes_files/techblack-frame_04.png')],null,2,0.700000,0.000000,0.000000,0.000000,0.000000,16.000000,16.000000,16.000000,18.000000,543.000000,380.000000,543.000000,380.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget4',null,'widget5',{showTitle:true,showMetric:true})});}
function relayoutMediaGrid_id16(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id16(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id16(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_3:new IWShadow({blurRadius:6,offset:new IWPoint(1.8880,2.3314),color:'#000000',opacity:0.550000}),shadow_0:new IWShadow({blurRadius:6,offset:new IWPoint(1.8880,2.3314),color:'#000000',opacity:0.550000}),shadow_2:new IWShadow({blurRadius:6,offset:new IWPoint(1.8880,2.3314),color:'#000000',opacity:0.550000}),shadow_1:new IWShadow({blurRadius:6,offset:new IWPoint(1.8880,2.3314),color:'#000000',opacity:0.550000}),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('Featured_homes_files/Featured_homesMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('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');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');NotificationCenter.addObserver(null,relayoutMediaGrid_id16,'RangeChanged','id16')
adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');adjustLineHeightIfTooBig('id18');adjustFontSizeIfTooBig('id18');adjustLineHeightIfTooBig('id19');adjustFontSizeIfTooBig('id19');adjustLineHeightIfTooBig('id20');adjustFontSizeIfTooBig('id20');adjustLineHeightIfTooBig('id21');adjustFontSizeIfTooBig('id21');adjustLineHeightIfTooBig('id22');adjustFontSizeIfTooBig('id22');adjustLineHeightIfTooBig('id23');adjustFontSizeIfTooBig('id23');adjustLineHeightIfTooBig('id24');adjustFontSizeIfTooBig('id24');fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');IMpreload('Featured_homes_files','shapeimage_1','0');IMpreload('Featured_homes_files','shapeimage_3','0');IMpreload('Featured_homes_files','shapeimage_3','1');IMpreload('Featured_homes_files','shapeimage_4','0');IMpreload('Featured_homes_files','shapeimage_8','0');IMpreload('Featured_homes_files','shapeimage_10','0');IMpreload('Featured_homes_files','shapeimage_12','0');Widget.onload();IMpreload('Featured_homes_files','shapeimage_14','0');applyEffects()
initializeMediaStream_id16()}
function onPageUnload()
{Widget.onunload();}
