// Created by iWeb 2.0.4 local-build-20090317

function createMediaStream_id4()
{return IWCreateMediaCollection("file://localhost/Volumes/Untitled%201/Foto_Gatti/Desktop_Gatti_Norvegesi/Desktop_Gatti_Norvegesi_files/rss.xml",true,255,["Nessuna foto ancora","%d foto","%d foto"],["","%d clip","%d clip"]);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('file://localhost/Volumes/Untitled%201/Foto_Gatti/Desktop_Gatti_Norvegesi',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget8'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('file://localhost/Volumes/Untitled%201/Foto_Gatti/Desktop_Gatti_Norvegesi',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(2,new IWSize(287,215),new IWSize(287,35),new IWSize(344,265),27,27,0,new IWSize(58,51)),new IWPhotoFrame([IWCreateImage('Desktop_Gatti_Norvegesi_files/kids-blue_ul.png'),IWCreateImage('Desktop_Gatti_Norvegesi_files/kids-blue_top.jpg'),IWCreateImage('Desktop_Gatti_Norvegesi_files/kids-blue_ur.png'),IWCreateImage('Desktop_Gatti_Norvegesi_files/kids-blue_right.png'),IWCreateImage('Desktop_Gatti_Norvegesi_files/kids-blue_lr.png'),IWCreateImage('Desktop_Gatti_Norvegesi_files/kids-blue_bottom.png'),IWCreateImage('Desktop_Gatti_Norvegesi_files/kids-blue_ll.png'),IWCreateImage('Desktop_Gatti_Norvegesi_files/kids-blue_left.png')],null,0,0.500000,0.000000,0.000000,0.000000,0.000000,71.000000,43.000000,44.000000,58.000000,100.000000,105.000000,100.000000,105.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget8',null,'widget9',{showTitle:true,showMetric:true})});}
function relayoutMediaGrid_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:1,offset:new IWPoint(1.2856,1.5321),color:'#ffffff',opacity:1.000000})});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','../Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','../Media/Photo-Overlay-Movie.png')
IWRegisterNamedImage('contribution overlay','../Media/Photo-Overlay-Contribution.png')
loadMozillaCSS('Desktop_Gatti_Norvegesi_files/Desktop_Gatti_NorvegesiMoz.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');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}
