// Created by iWeb 3.0.4 local-build-20110823

function createMediaStream_id1()
{return IWCreatePhotocast("http://www.agilityscotties.ch/Web-Site/Camilla_files/rss.xml",true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.agilityscotties.ch/Web-Site',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.agilityscotties.ch/Web-Site',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(3,new IWSize(191,191),new IWSize(191,30),new IWSize(229,236),27,27,0,new IWSize(18,19)),new IWPhotoFrame([IWCreateImage('Camilla_files/Modern_C_TL.png'),IWCreateImage('Camilla_files/Modern_S_T.png'),IWCreateImage('Camilla_files/Modern_C_TR.png'),IWCreateImage('Camilla_files/Modern_S_R.png'),IWCreateImage('Camilla_files/Modern_C_BR.png'),IWCreateImage('Camilla_files/Modern_S_B.png'),IWCreateImage('Camilla_files/Modern_C_BL.png'),IWCreateImage('Camilla_files/Modern_S_L.png')],null,2,0.500000,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,20.000000,40.000000,40.000000,40.000000,240.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id2" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="480" height="286" style="height: 286px; left: 88px; position: absolute; top: 583px; width: 480px; z-index: 1; "><param name="src" value="Media/Camilla%20Agility.mov" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id2" type="video/quicktime" width="480" height="286" style="height: 286px; left: 88px; position: absolute; top: 583px; width: 480px; z-index: 1; "><param name="src" value="Camilla_files/Camilla%20Agility.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Camilla%20Agility.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id2" type="video/quicktime" width="480" height="286" data="Media/Camilla%20Agility.mov" style="height: 286px; left: 88px; position: absolute; top: 583px; width: 480px; z-index: 1; "><param name="src" value="Media/Camilla%20Agility.mov"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_3:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_4:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_5:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_8:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_10:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_1:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_6:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_7:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_2:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,223),url:'Camilla_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Camilla_files/stroke_1.png'},{rect:new IWRect(1,-1,298,2),url:'Camilla_files/stroke_2.png'},{rect:new IWRect(299,-1,3,2),url:'Camilla_files/stroke_3.png'},{rect:new IWRect(299,1,3,223),url:'Camilla_files/stroke_4.png'},{rect:new IWRect(299,224,3,3),url:'Camilla_files/stroke_5.png'},{rect:new IWRect(1,224,298,3),url:'Camilla_files/stroke_6.png'},{rect:new IWRect(-1,224,2,3),url:'Camilla_files/stroke_7.png'}],new IWSize(300,225)),shadow_9:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000})});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('Camilla_files/CamillaMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
Widget.onload();fixAllIEPNGs('Media/transparent.gif');IMpreload('Camilla_files','shapeimage_2','0');IMpreload('Camilla_files','shapeimage_2','1');IMpreload('Camilla_files','shapeimage_2','2');IMpreload('Camilla_files','shapeimage_2','3');IMpreload('Camilla_files','shapeimage_2','4');IMpreload('Camilla_files','shapeimage_2','5');IMpreload('Camilla_files','shapeimage_2','6');IMpreload('Camilla_files','shapeimage_2','7');IMpreload('Camilla_files','shapeimage_2','8');IMpreload('Camilla_files','shapeimage_2','9');IMpreload('Camilla_files','shapeimage_2','10');IMpreload('Camilla_files','shapeimage_2','11');IMpreload('Camilla_files','shapeimage_2','12');IMpreload('Camilla_files','shapeimage_4','0');IMpreload('Camilla_files','shapeimage_6','0');IMpreload('Camilla_files','shapeimage_6','1');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

