// Created by iWeb 3.0.1 local-build-20090727

function createMediaStream_id6()
{return IWCreateMediaCollection("http://web.me.com/giuseppe.goldoni/Ideaonline/Photo_Gallery_2008/Photo_Gallery_2008_files/rss.xml",true,255,["Nessuna foto ancora","%d foto","%d foto"],["","%d clip","%d clip"]);}
function initializeMediaStream_id6()
{createMediaStream_id6().load('http://web.me.com/giuseppe.goldoni/Ideaonline/Photo_Gallery_2008',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget5'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id6',{pageIndex:0}));});}
function layoutMediaGrid_id6(range)
{createMediaStream_id6().load('http://web.me.com/giuseppe.goldoni/Ideaonline/Photo_Gallery_2008',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id6',new IWPhotoGridLayout(2,new IWSize(233,174),new IWSize(233,34),new IWSize(309,223),27,27,0,new IWSize(91,68)),new IWPhotoFrame([IWCreateImage('Photo_Gallery_2008_files/organic_ul.png'),IWCreateImage('Photo_Gallery_2008_files/organic_top.png'),IWCreateImage('Photo_Gallery_2008_files/organic_ur.png'),IWCreateImage('Photo_Gallery_2008_files/organic_right.png'),IWCreateImage('Photo_Gallery_2008_files/organic_lr.png'),IWCreateImage('Photo_Gallery_2008_files/organic_bottom.png'),IWCreateImage('Photo_Gallery_2008_files/organic_ll.png'),IWCreateImage('Photo_Gallery_2008_files/organic_left.png')],null,0,0.750000,0.000000,18.000000,0.000000,16.000000,76.000000,57.000000,45.000000,68.000000,30.000000,80.000000,144.000000,80.000000,null,null,null,0.500000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget5',null,'widget6',{showTitle:true,showMetric:false})});}
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_0:new IWEmptyStroke()});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','../Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','../Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Photo_Gallery_2008_files/Photo_Gallery_2008Moz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');NotificationCenter.addObserver(null,relayoutMediaGrid_id6,'RangeChanged','id6')
adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');fixupIECSS3Opacity('id2');fixupIECSS3Opacity('id3');fixAllIEPNGs('../Media/transparent.gif');IMpreload('Photo_Gallery_2008_files','shapeimage_2','0');Widget.onload();fixupAllIEPNGBGs();fixupIECSS3Opacity('id8');applyEffects()
initializeMediaStream_id6()}
function onPageUnload()
{Widget.onunload();}
