// Created by iWeb 3.0.1 local-build-20100715

function createMediaStream_id3()
{return IWCreateMediaCollection("http://www.econichehouse.com/Econiche_House_Welcome/welcome/welcome_files/rss.xml",true,2,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.econichehouse.com/Econiche_House_Welcome/welcome',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.econichehouse.com/Econiche_House_Welcome/welcome',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(1,new IWSize(440,330),new IWSize(440,32),new IWSize(488,377),27,27,0,new IWSize(110,92)),new IWPhotoFrame([IWCreateImage('welcome_files/spiralboook_ul.png'),IWCreateImage('welcome_files/spiralboook_top.png'),IWCreateImage('welcome_files/spiralboook_ur.png'),IWCreateImage('welcome_files/spiralboook_right.png'),IWCreateImage('welcome_files/spiralboook_lr.png'),IWCreateImage('welcome_files/spiralboook_bottom.png'),IWCreateImage('welcome_files/spiralboook_ll.png'),IWCreateImage('welcome_files/spiralboook_left.png')],null,1,1.000000,0.000000,10.000000,0.000000,19.000000,62.000000,49.000000,48.000000,72.000000,20.000000,1.000000,20.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=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.500000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,107),url:'welcome_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'welcome_files/stroke_1.png'},{rect:new IWRect(2,-2,240,4),url:'welcome_files/stroke_2.png'},{rect:new IWRect(242,-2,4,4),url:'welcome_files/stroke_3.png'},{rect:new IWRect(242,2,4,107),url:'welcome_files/stroke_4.png'},{rect:new IWRect(242,109,4,4),url:'welcome_files/stroke_5.png'},{rect:new IWRect(2,109,240,4),url:'welcome_files/stroke_6.png'},{rect:new IWRect(-2,109,4,4),url:'welcome_files/stroke_7.png'}],new IWSize(244,111)),stroke_1:new IWPhotoFrame([IWCreateImage('welcome_files/Modern_C_TL.png'),IWCreateImage('welcome_files/Modern_S_T.png'),IWCreateImage('welcome_files/Modern_C_TR.png'),IWCreateImage('welcome_files/Modern_S_R.png'),IWCreateImage('welcome_files/Modern_C_BR.png'),IWCreateImage('welcome_files/Modern_S_B.png'),IWCreateImage('welcome_files/Modern_C_BL.png'),IWCreateImage('welcome_files/Modern_S_L.png')],null,2,0.360526,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,20.000000,40.000000,40.000000,40.000000,240.000000,null,null,null,0.100000)});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('welcome_files/welcomeMoz.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');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');fixupIECSS3Opacity('id12');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
