// Created by iWeb 3.0.2 local-build-20101012

function createMediaStream_id6()
{return IWCreatePhotocast("http://www.schenk-photos.ch/GENEVA_1/RESTO_4_files/rss.xml",false);}
function initializeMediaStream_id6()
{createMediaStream_id6().load('http://www.schenk-photos.ch/GENEVA_1',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id6',{pageIndex:0}));});}
function layoutMediaGrid_id6(range)
{createMediaStream_id6().load('http://www.schenk-photos.ch/GENEVA_1',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id6',new IWPhotoGridLayout(6,new IWSize(96,96),new IWSize(96,32),new IWSize(118,143),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id6(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id6(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id6(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_3:new IWStrokeParts([{rect:new IWRect(-1,1,2,771),url:'RESTO_4_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'RESTO_4_files/stroke_17.png'},{rect:new IWRect(1,-1,686,2),url:'RESTO_4_files/stroke_18.png'},{rect:new IWRect(687,-1,1,2),url:'RESTO_4_files/stroke_19.png'},{rect:new IWRect(687,1,1,771),url:'RESTO_4_files/stroke_20.png'},{rect:new IWRect(687,772,1,2),url:'RESTO_4_files/stroke_21.png'},{rect:new IWRect(1,772,686,2),url:'RESTO_4_files/stroke_22.png'},{rect:new IWRect(-1,772,2,2),url:'RESTO_4_files/stroke_23.png'}],new IWSize(687,773)),stroke_2:new IWStrokeParts([{rect:new IWRect(-2,2,4,793),url:'RESTO_4_files/stroke_8.png'},{rect:new IWRect(-2,-2,4,4),url:'RESTO_4_files/stroke_9.png'},{rect:new IWRect(2,-2,203,4),url:'RESTO_4_files/stroke_10.png'},{rect:new IWRect(205,-2,4,4),url:'RESTO_4_files/stroke_11.png'},{rect:new IWRect(205,2,4,793),url:'RESTO_4_files/stroke_12.png'},{rect:new IWRect(205,795,4,4),url:'RESTO_4_files/stroke_13.png'},{rect:new IWRect(2,795,203,4),url:'RESTO_4_files/stroke_14.png'},{rect:new IWRect(-2,795,4,4),url:'RESTO_4_files/stroke_15.png'}],new IWSize(207,797)),stroke_0:new IWEmptyStroke(),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,98),url:'RESTO_4_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'RESTO_4_files/stroke_1.png'},{rect:new IWRect(1,-1,98,2),url:'RESTO_4_files/stroke_2.png'},{rect:new IWRect(99,-1,2,2),url:'RESTO_4_files/stroke_3.png'},{rect:new IWRect(99,1,2,98),url:'RESTO_4_files/stroke_4.png'},{rect:new IWRect(99,99,2,2),url:'RESTO_4_files/stroke_5.png'},{rect:new IWRect(1,99,98,2),url:'RESTO_4_files/stroke_6.png'},{rect:new IWRect(-1,99,2,2),url:'RESTO_4_files/stroke_7.png'}],new IWSize(100,100)),shadow_5:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_4:new IWStrokeParts([{rect:new IWRect(-2,2,4,983),url:'RESTO_4_files/stroke_24.png'},{rect:new IWRect(-2,-2,4,4),url:'RESTO_4_files/stroke_25.png'},{rect:new IWRect(2,-2,227,4),url:'RESTO_4_files/stroke_26.png'},{rect:new IWRect(229,-2,4,4),url:'RESTO_4_files/stroke_27.png'},{rect:new IWRect(229,2,4,983),url:'RESTO_4_files/stroke_28.png'},{rect:new IWRect(229,985,4,4),url:'RESTO_4_files/stroke_29.png'},{rect:new IWRect(2,985,227,4),url:'RESTO_4_files/stroke_30.png'},{rect:new IWRect(-2,985,4,4),url:'RESTO_4_files/stroke_31.png'}],new IWSize(231,987)),shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_5:new IWStrokeParts([{rect:new IWRect(-2,2,4,271),url:'RESTO_4_files/stroke_32.png'},{rect:new IWRect(-2,-2,4,4),url:'RESTO_4_files/stroke_33.png'},{rect:new IWRect(2,-2,227,4),url:'RESTO_4_files/stroke_34.png'},{rect:new IWRect(229,-2,4,4),url:'RESTO_4_files/stroke_35.png'},{rect:new IWRect(229,2,4,271),url:'RESTO_4_files/stroke_36.png'},{rect:new IWRect(229,273,4,4),url:'RESTO_4_files/stroke_37.png'},{rect:new IWRect(2,273,227,4),url:'RESTO_4_files/stroke_38.png'},{rect:new IWRect(-2,273,4,4),url:'RESTO_4_files/stroke_39.png'}],new IWSize(231,275)),shadow_3: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.700000}),shadow_2: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.700000})});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('RESTO_4_files/RESTO_4Moz.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');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id6()}
function onPageUnload()
{Widget.onunload();}

