// Created by iWeb 2.0.3 local-build-20080514

function createMediaStream_id1()
{return IWCreatePhotocast("http://www.rocca-day.it/ROCCA-DAYS/ROCCA-DAY_2008/Pagine/Foto_PSYCO_MOMO_files/rss.xml",true,true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.rocca-day.it/ROCCA-DAYS/ROCCA-DAY_2008/Pagine',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.rocca-day.it/ROCCA-DAYS/ROCCA-DAY_2008/Pagine',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(333,333),new IWSize(333,30),new IWSize(344,378),27,27,0,new IWSize(30,33)),new IWPhotoFrame([IWCreateImage('Foto_PSYCO_MOMO_files/Modern_C_TL.png'),IWCreateImage('Foto_PSYCO_MOMO_files/Modern_S_T.png'),IWCreateImage('Foto_PSYCO_MOMO_files/Modern_C_TR.png'),IWCreateImage('Foto_PSYCO_MOMO_files/Modern_S_R.png'),IWCreateImage('Foto_PSYCO_MOMO_files/Modern_C_BR.png'),IWCreateImage('Foto_PSYCO_MOMO_files/Modern_S_B.png'),IWCreateImage('Foto_PSYCO_MOMO_files/Modern_C_BL.png'),IWCreateImage('Foto_PSYCO_MOMO_files/Modern_S_L.png')],null,2,0.881579,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,20.000000,40.000000,40.000000,40.000000,240.000000,null,null,null,0.100000),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:2},'../../Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id2" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="221" height="16"><param name="src" value="../../Media/04%20Corner%20of%20the%20Earth-7%7E2.mov" /><param name="starttime" value="00:00:23:3.5" /><param name="controller" value="true" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="true" /></object>');}
else if(isiPhone)
{document.write('<object id="id2" type="video/quicktime" width="221" height="16"><param name="src" value="../../Media/04%20Corner%20of%20the%20Earth-7%7E2.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id2" type="video/quicktime" width="221" height="16" data="../../Media/04%20Corner%20of%20the%20Earth-7%7E2.mov" starttime="00:00:23:3.5"><param name="src" value="../../Media/04%20Corner%20of%20the%20Earth-7%7E2.mov"/><param name="starttime" value="00:00:23:3.5"/><param name="controller" value="true"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="true"/></object>');}}
setTransparentGifURL('../../Media/transparent.gif');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('Foto_PSYCO_MOMO_files/Foto_PSYCO_MOMOMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');detectBrowser();Widget.onload();fixAllIEPNGs('../../Media/transparent.gif');initializeMediaStream_id1()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}

