// Created by iWeb 3.0.1 local-build-20100220

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.CarrouselHorseBnB.com/Carrousel_Horse_B%26B/Through_the_Seasons_files/rss.xml",true);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.CarrouselHorseBnB.com/Carrousel_Horse_B%26B',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.CarrouselHorseBnB.com/Carrousel_Horse_B%26B',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(219,219),new IWSize(219,42),new IWSize(263,276),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-5,5,10,208),url:'Through_the_Seasons_files/stroke.png'},{rect:new IWRect(-5,-5,10,10),url:'Through_the_Seasons_files/stroke_1.png'},{rect:new IWRect(5,-5,208,10),url:'Through_the_Seasons_files/stroke_2.png'},{rect:new IWRect(213,-5,10,10),url:'Through_the_Seasons_files/stroke_3.png'},{rect:new IWRect(213,5,10,208),url:'Through_the_Seasons_files/stroke_4.png'},{rect:new IWRect(213,213,10,10),url:'Through_the_Seasons_files/stroke_5.png'},{rect:new IWRect(5,213,208,10),url:'Through_the_Seasons_files/stroke_6.png'},{rect:new IWRect(-5,213,10,10),url:'Through_the_Seasons_files/stroke_7.png'}],new IWSize(218,218)),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id3" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="197" height="16"><param name="src" value="Media/Sounds%20Screen%20Door.aif" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="65" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id3" type="video/quicktime" width="197" height="16"><param name="src" value="Media/Sounds%20Screen%20Door.aif"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id3" type="video/quicktime" width="197" height="16" data="Media/Sounds%20Screen%20Door.aif"><param name="src" value="Media/Sounds%20Screen%20Door.aif"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="65"/><param name="loop" value="false"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-5,5,10,215),url:'Through_the_Seasons_files/stroke_8.png'},{rect:new IWRect(-5,-5,10,10),url:'Through_the_Seasons_files/stroke_9.png'},{rect:new IWRect(5,-5,290,10),url:'Through_the_Seasons_files/stroke_10.png'},{rect:new IWRect(295,-5,10,10),url:'Through_the_Seasons_files/stroke_11.png'},{rect:new IWRect(295,5,10,215),url:'Through_the_Seasons_files/stroke_12.png'},{rect:new IWRect(295,220,10,10),url:'Through_the_Seasons_files/stroke_13.png'},{rect:new IWRect(5,220,290,10),url:'Through_the_Seasons_files/stroke_14.png'},{rect:new IWRect(-5,220,10,10),url:'Through_the_Seasons_files/stroke_15.png'}],new IWSize(300,225))});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('Through_the_Seasons_files/Through_the_SeasonsMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');fixAllIEPNGs('Media/transparent.gif');IMpreload('Through_the_Seasons_files','shapeimage_1','0');IMpreload('Through_the_Seasons_files','shapeimage_1','1');IMpreload('Through_the_Seasons_files','shapeimage_1','2');IMpreload('Through_the_Seasons_files','shapeimage_1','3');IMpreload('Through_the_Seasons_files','shapeimage_1','4');IMpreload('Through_the_Seasons_files','shapeimage_1','5');IMpreload('Through_the_Seasons_files','shapeimage_2','0');IMpreload('Through_the_Seasons_files','shapeimage_2','1');IMpreload('Through_the_Seasons_files','shapeimage_2','2');IMpreload('Through_the_Seasons_files','shapeimage_2','3');IMpreload('Through_the_Seasons_files','shapeimage_2','4');IMpreload('Through_the_Seasons_files','shapeimage_2','5');Widget.onload();applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

