// Created by iWeb 3.0.1 local-build-20100121

function createMediaStream_id9()
{return IWCreatePhotocast("http://www.thecottagesofflatrock.com/thecottagesofflatrock.com/cottages_files/rss.xml",false);}
function initializeMediaStream_id9()
{createMediaStream_id9().load('http://www.thecottagesofflatrock.com/thecottagesofflatrock.com',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id9',{pageIndex:0}));});}
function layoutMediaGrid_id9(range)
{createMediaStream_id9().load('http://www.thecottagesofflatrock.com/thecottagesofflatrock.com',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id9',new IWPhotoGridLayout(3,new IWSize(193,193),new IWSize(193,0),new IWSize(218,208),27,27,0,new IWSize(20,19)),new IWPhotoFrame([IWCreateImage('cottages_files/Vintage_Inset_01.png'),IWCreateImage('cottages_files/Vintage_Inset_02.png'),IWCreateImage('cottages_files/Vintage_Inset_03.png'),IWCreateImage('cottages_files/Vintage_Inset_06.png'),IWCreateImage('cottages_files/Vintage_Inset_09.png'),IWCreateImage('cottages_files/Vintage_Inset_08.png'),IWCreateImage('cottages_files/Vintage_Inset_07.png'),IWCreateImage('cottages_files/Vintage_Inset_04.png')],null,2,0.333333,12.000000,13.000000,12.000000,12.000000,40.000000,41.000000,41.000000,42.000000,417.000000,310.000000,417.000000,310.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(255, 255, 255)',reflectionHeight:0,reflectionOffset:2,captionHeight:0,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id9(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id9(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id9(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({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(-0.6272,5.9671),color:'#000000',opacity:0.300000}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(-4.2426,4.2426),color:'#000000',opacity:0.070000}),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,466),url:'cottages_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'cottages_files/stroke_1.png'},{rect:new IWRect(1,-1,381,2),url:'cottages_files/stroke_2.png'},{rect:new IWRect(382,-1,2,2),url:'cottages_files/stroke_3.png'},{rect:new IWRect(382,1,2,466),url:'cottages_files/stroke_4.png'},{rect:new IWRect(382,467,2,2),url:'cottages_files/stroke_5.png'},{rect:new IWRect(1,467,381,2),url:'cottages_files/stroke_6.png'},{rect:new IWRect(-1,467,2,2),url:'cottages_files/stroke_7.png'}],new IWSize(383,468)),stroke_0:new IWEmptyStroke(),shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(3.9364,4.5283),color:'#000000',opacity:0.170000}),shadow_3:new IWShadow({blurRadius:10,offset:new IWPoint(-2.5357,5.4378),color:'#000000',opacity:0.300000})});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('cottages_files/cottagesMoz.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');NotificationCenter.addObserver(null,relayoutMediaGrid_id9,'RangeChanged','id9')
adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id9()}
function onPageUnload()
{Widget.onunload();}
