// Created by iWeb 3.0.1 local-build-20090618

function createMediaStream_id6()
{return IWCreatePhotocast("http://www.caryfarm.com/Welcome.html/caryfarm/Service_Dog_Emma_files/rss.xml",false);}
function initializeMediaStream_id6()
{createMediaStream_id6().load('http://www.caryfarm.com/Welcome.html/caryfarm',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id6',{pageIndex:0}));});}
function layoutMediaGrid_id6(range)
{createMediaStream_id6().load('http://www.caryfarm.com/Welcome.html/caryfarm',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id6',new IWPhotoGridLayout(3,new IWSize(199,199),new IWSize(199,48),new IWSize(247,262),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-6,-1,5,200),url:'Service_Dog_Emma_files/stroke_8.png'},{rect:new IWRect(-6,-6,5,5),url:'Service_Dog_Emma_files/stroke_9.png'},{rect:new IWRect(-1,-6,200,5),url:'Service_Dog_Emma_files/stroke_10.png'},{rect:new IWRect(199,-6,5,5),url:'Service_Dog_Emma_files/stroke_11.png'},{rect:new IWRect(199,-1,5,200),url:'Service_Dog_Emma_files/stroke_12.png'},{rect:new IWRect(199,199,5,5),url:'Service_Dog_Emma_files/stroke_13.png'},{rect:new IWRect(-1,199,200,5),url:'Service_Dog_Emma_files/stroke_14.png'},{rect:new IWRect(-6,199,5,5),url:'Service_Dog_Emma_files/stroke_15.png'}],new IWSize(198,198)),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(2.8284,2.8284),color:'#330000',opacity:0.750000}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:0,reflectionOffset:2,captionHeight:0,fullScreen:0,transitionIndex:6},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id6(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id6(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,114),url:'Service_Dog_Emma_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Service_Dog_Emma_files/stroke_1.png'},{rect:new IWRect(1,-1,122,2),url:'Service_Dog_Emma_files/stroke_2.png'},{rect:new IWRect(123,-1,2,2),url:'Service_Dog_Emma_files/stroke_3.png'},{rect:new IWRect(123,1,2,114),url:'Service_Dog_Emma_files/stroke_4.png'},{rect:new IWRect(123,115,2,2),url:'Service_Dog_Emma_files/stroke_5.png'},{rect:new IWRect(1,115,122,2),url:'Service_Dog_Emma_files/stroke_6.png'},{rect:new IWRect(-1,115,2,2),url:'Service_Dog_Emma_files/stroke_7.png'}],new IWSize(124,116)),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,251),url:'Service_Dog_Emma_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'Service_Dog_Emma_files/stroke_17.png'},{rect:new IWRect(1,-1,140,2),url:'Service_Dog_Emma_files/stroke_18.png'},{rect:new IWRect(141,-1,2,2),url:'Service_Dog_Emma_files/stroke_19.png'},{rect:new IWRect(141,1,2,251),url:'Service_Dog_Emma_files/stroke_20.png'},{rect:new IWRect(141,252,2,2),url:'Service_Dog_Emma_files/stroke_21.png'},{rect:new IWRect(1,252,140,2),url:'Service_Dog_Emma_files/stroke_22.png'},{rect:new IWRect(-1,252,2,2),url:'Service_Dog_Emma_files/stroke_23.png'}],new IWSize(142,253))});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('Service_Dog_Emma_files/Service_Dog_EmmaMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');NotificationCenter.addObserver(null,relayoutMediaGrid_id6,'RangeChanged','id6')
adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id6()}
function onPageUnload()
{Widget.onunload();}

