// Created by iWeb 3.0.4 local-build-20120111

function createMediaStream_id4()
{return IWCreatePhotocast("http://www.bayhavenfarm.com/Bay_Haven_Farm,_LLC/Pure_Spanish_Goats_files/rss.xml",true);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.bayhavenfarm.com/Bay_Haven_Farm,_LLC',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.bayhavenfarm.com/Bay_Haven_Farm,_LLC',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(6,new IWSize(163,163),new IWSize(163,48),new IWSize(216,226),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),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_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,263),url:'Pure_Spanish_Goats_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Pure_Spanish_Goats_files/stroke_1.png'},{rect:new IWRect(1,-1,169,2),url:'Pure_Spanish_Goats_files/stroke_2.png'},{rect:new IWRect(170,-1,3,2),url:'Pure_Spanish_Goats_files/stroke_3.png'},{rect:new IWRect(170,1,3,263),url:'Pure_Spanish_Goats_files/stroke_4.png'},{rect:new IWRect(170,264,3,2),url:'Pure_Spanish_Goats_files/stroke_5.png'},{rect:new IWRect(1,264,169,2),url:'Pure_Spanish_Goats_files/stroke_6.png'},{rect:new IWRect(-1,264,2,2),url:'Pure_Spanish_Goats_files/stroke_7.png'}],new IWSize(171,265)),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,195),url:'Pure_Spanish_Goats_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'Pure_Spanish_Goats_files/stroke_9.png'},{rect:new IWRect(1,-1,195,2),url:'Pure_Spanish_Goats_files/stroke_10.png'},{rect:new IWRect(196,-1,2,2),url:'Pure_Spanish_Goats_files/stroke_11.png'},{rect:new IWRect(196,1,2,195),url:'Pure_Spanish_Goats_files/stroke_12.png'},{rect:new IWRect(196,196,2,3),url:'Pure_Spanish_Goats_files/stroke_13.png'},{rect:new IWRect(1,196,195,3),url:'Pure_Spanish_Goats_files/stroke_14.png'},{rect:new IWRect(-1,196,2,3),url:'Pure_Spanish_Goats_files/stroke_15.png'}],new IWSize(197,197)),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,45),url:'Pure_Spanish_Goats_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'Pure_Spanish_Goats_files/stroke_17.png'},{rect:new IWRect(1,-1,143,2),url:'Pure_Spanish_Goats_files/stroke_18.png'},{rect:new IWRect(144,-1,2,2),url:'Pure_Spanish_Goats_files/stroke_19.png'},{rect:new IWRect(144,1,2,45),url:'Pure_Spanish_Goats_files/stroke_20.png'},{rect:new IWRect(144,46,2,2),url:'Pure_Spanish_Goats_files/stroke_21.png'},{rect:new IWRect(1,46,143,2),url:'Pure_Spanish_Goats_files/stroke_22.png'},{rect:new IWRect(-1,46,2,2),url:'Pure_Spanish_Goats_files/stroke_23.png'}],new IWSize(145,47))});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('Pure_Spanish_Goats_files/Pure_Spanish_GoatsMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');Widget.onload();applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}

