// Created by iWeb 2.0.4 local-build-20100616

function createMediaStream_id9()
{return IWCreateMediaCollection("http://www.clinicaborgarello.it/fotoalbum/fotoalbum/Fotoalbum/Fotoalbum_files/rss.xml",true,255,["Nessuna foto ancora","%d foto","%d foto"],["","%d clip","%d clip"]);}
function initializeMediaStream_id9()
{createMediaStream_id9().load('http://www.clinicaborgarello.it/fotoalbum/fotoalbum/Fotoalbum',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget9'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id9',{pageIndex:0}));});}
function layoutMediaGrid_id9(range)
{createMediaStream_id9().load('http://www.clinicaborgarello.it/fotoalbum/fotoalbum/Fotoalbum',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id9',new IWPhotoGridLayout(2,new IWSize(285,214),new IWSize(285,32),new IWSize(336,261),27,27,0,new IWSize(108,95)),new IWPhotoFrame([IWCreateImage('Fotoalbum_files/spiralbook-creme_ul.png'),IWCreateImage('Fotoalbum_files/spiralbook-creme_top.png'),IWCreateImage('Fotoalbum_files/spiralbook-creme_ur.png'),IWCreateImage('Fotoalbum_files/spiralbook-creme_right.png'),IWCreateImage('Fotoalbum_files/spiralbook-creme_lr.png'),IWCreateImage('Fotoalbum_files/spiralbook-creme_bottom.png'),IWCreateImage('Fotoalbum_files/spiralbook-creme_ll.png'),IWCreateImage('Fotoalbum_files/spiralbook-creme_left.png')],null,1,1.000000,15.000000,0.000000,0.000000,0.000000,83.000000,40.000000,40.000000,55.000000,106.000000,40.000000,40.000000,32.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget9',null,'widget10',{showTitle:true,showMetric:true})});}
function relayoutMediaGrid_id9(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id9(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id9(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({reflection_0:new IWReflection({opacity:0.50,offset:1.00})});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('Fotoalbum_files/FotoalbumMoz.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');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');NotificationCenter.addObserver(null,relayoutMediaGrid_id9,'RangeChanged','id9')
fixAllIEPNGs('../Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id9()}
function onPageUnload()
{Widget.onunload();}

