// Created by iWeb 3.0.3 local-build-20110518 function createMediaStream_id8() {return IWCreateMediaCollection("http://www.cinziacoratelli.com/CinziArt/Galleria/Galleria_files/rss.xml",true,2,["Nessuna foto ancora","%d foto","%d foto"],["","%d clip","%d clip"]);} function initializeMediaStream_id8() {createMediaStream_id8().load('http://www.cinziacoratelli.com/CinziArt/Galleria',function(imageStream) {var entryCount=imageStream.length;var headerView=widgets['widget6'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id8',{pageIndex:0}));});} function layoutMediaGrid_id8(range) {createMediaStream_id8().load('http://www.cinziacoratelli.com/CinziArt/Galleria',function(imageStream) {if(range==null) {range=new IWRange(0,imageStream.length);} IWLayoutPhotoGrid('id8',new IWPhotoGridLayout(2,new IWSize(278,208),new IWSize(278,32),new IWSize(344,255),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget6',null,'widget7',{showTitle:true,showMetric:true})});} function relayoutMediaGrid_id8(notification) {var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id8(range);} function onStubPage() {var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id8(),args.id);} if(window.stubPage) {onStubPage();} setTransparentGifURL('../Media/transparent.gif');function applyEffects() {var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWEmptyStroke()});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('Galleria_files/GalleriaMoz.css') adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');NotificationCenter.addObserver(null,relayoutMediaGrid_id8,'RangeChanged','id8') adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');detectBrowser();Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');applyEffects() initializeMediaStream_id8()} function onPageUnload() {Widget.onunload();}