// Created by iWeb 3.0.1 local-build-20090415

function createMediaStream_id2()
{return IWCreatePhotocast("file://localhost/Lavori/www.gustavoepaina.it/Sito%20OK/GustavoPaina/eFoto_files/rss.xml",true);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('file://localhost/Lavori/www.gustavoepaina.it/Sito%20OK/GustavoPaina',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('file://localhost/Lavori/www.gustavoepaina.it/Sito%20OK/GustavoPaina',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(191,191),new IWSize(191,32),new IWSize(229,238),27,27,0,new IWSize(24,27)),new IWPhotoFrame([IWCreateImage('eFoto_files/Freestyle_01.png'),IWCreateImage('eFoto_files/Freestyle_02.png'),IWCreateImage('eFoto_files/Freestyle_03.png'),IWCreateImage('eFoto_files/Freestyle_06.png'),IWCreateImage('eFoto_files/Freestyle_09.png'),IWCreateImage('eFoto_files/Freestyle_08.png'),IWCreateImage('eFoto_files/Freestyle_07.png'),IWCreateImage('eFoto_files/Freestyle_04.png')],null,2,0.600000,3.000000,3.000000,3.000000,3.000000,22.000000,24.000000,23.000000,25.000000,166.000000,222.000000,166.000000,222.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_5:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.330000}),shadow_0:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.330000}),shadow_3:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.330000}),shadow_1:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.330000}),shadow_2:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.330000}),shadow_4:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.330000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,3,5,717),url:'eFoto_files/stroke.png'},{rect:new IWRect(-2,-3,5,6),url:'eFoto_files/stroke_1.png'},{rect:new IWRect(3,-3,676,6),url:'eFoto_files/stroke_2.png'},{rect:new IWRect(679,-1,6,4),url:'eFoto_files/stroke_3.png'},{rect:new IWRect(679,3,6,717),url:'eFoto_files/stroke_4.png'},{rect:new IWRect(679,720,6,5),url:'eFoto_files/stroke_5.png'},{rect:new IWRect(3,720,676,5),url:'eFoto_files/stroke_6.png'},{rect:new IWRect(-2,720,5,6),url:'eFoto_files/stroke_7.png'}],new IWSize(683,724)),stroke_1:new IWStrokeParts([{rect:new IWRect(-2,3,5,306),url:'eFoto_files/stroke_8.png'},{rect:new IWRect(-2,-3,5,6),url:'eFoto_files/stroke_9.png'},{rect:new IWRect(3,-3,676,6),url:'eFoto_files/stroke_10.png'},{rect:new IWRect(679,-1,6,4),url:'eFoto_files/stroke_11.png'},{rect:new IWRect(679,3,6,306),url:'eFoto_files/stroke_12.png'},{rect:new IWRect(679,309,6,5),url:'eFoto_files/stroke_13.png'},{rect:new IWRect(3,309,676,5),url:'eFoto_files/stroke_14.png'},{rect:new IWRect(-2,309,5,6),url:'eFoto_files/stroke_15.png'}],new IWSize(683,313))});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('eFoto_files/eFotoMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('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');detectBrowser();adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');Widget.onload();fixAllIEPNGs('Media/transparent.gif');IMpreload('eFoto_files','shapeimage_7','0');fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

