// Created by iWeb 3.0.1 local-build-20100411

function createMediaStream_id4()
{return IWCreatePhotocast("http://www.carouselfarmlavender.com/index/CAROUSEL_FARM_LAVENDER_NEWS_files/rss.xml",false);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.carouselfarmlavender.com/index',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://www.carouselfarmlavender.com/index',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(5,new IWSize(112,112),new IWSize(112,0),new IWSize(116,127),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),null,1.000000,{backgroundColor:'rgb(134, 103, 180)',reflectionHeight:100,reflectionOffset:2,captionHeight:0,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWEmptyStroke(),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(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(1.4515,5.8218),color:'#000000',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),reflection_0:new IWReflection({opacity:0.50,offset:1.81})});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('CAROUSEL_FARM_LAVENDER_NEWS_files/CAROUSEL_FARM_LAVENDER_NEWSMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');fixAllIEPNGs('Media/transparent.gif');IMpreload('CAROUSEL_FARM_LAVENDER_NEWS_files','shapeimage_1','0');IMpreload('CAROUSEL_FARM_LAVENDER_NEWS_files','shapeimage_1','1');IMpreload('CAROUSEL_FARM_LAVENDER_NEWS_files','shapeimage_2','0');IMpreload('CAROUSEL_FARM_LAVENDER_NEWS_files','shapeimage_2','1');IMpreload('CAROUSEL_FARM_LAVENDER_NEWS_files','shapeimage_2','2');IMpreload('CAROUSEL_FARM_LAVENDER_NEWS_files','shapeimage_2','3');IMpreload('CAROUSEL_FARM_LAVENDER_NEWS_files','shapeimage_2','4');IMpreload('CAROUSEL_FARM_LAVENDER_NEWS_files','shapeimage_2','5');IMpreload('CAROUSEL_FARM_LAVENDER_NEWS_files','shapeimage_2','6');Widget.onload();IMpreload('CAROUSEL_FARM_LAVENDER_NEWS_files','shapeimage_4','0');IMpreload('CAROUSEL_FARM_LAVENDER_NEWS_files','shapeimage_4','1');IMpreload('CAROUSEL_FARM_LAVENDER_NEWS_files','shapeimage_5','0');applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}
