// Created by iWeb 3.0.1 local-build-20100225

function createMediaStream_id1()
{return IWCreateMediaCollection("http://www.edizionisabinae.com/EDIZIONI_SABINAE/MEDIA_WERTMULLER/MEDIA_WERTMULLER_files/rss.xml",false,1,["Nessuna foto ancora","%d foto","%d foto"],["","%d clip","%d clip"]);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.edizionisabinae.com/EDIZIONI_SABINAE/MEDIA_WERTMULLER',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget4'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.edizionisabinae.com/EDIZIONI_SABINAE/MEDIA_WERTMULLER',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(343,257),new IWSize(343,34),new IWSize(428,306),27,27,0,new IWSize(108,95)),new IWPhotoFrame([IWCreateImage('MEDIA_WERTMULLER_files/spiralbook-creme_ul.png'),IWCreateImage('MEDIA_WERTMULLER_files/spiralbook-creme_top.png'),IWCreateImage('MEDIA_WERTMULLER_files/spiralbook-creme_ur.png'),IWCreateImage('MEDIA_WERTMULLER_files/spiralbook-creme_right.png'),IWCreateImage('MEDIA_WERTMULLER_files/spiralbook-creme_lr.png'),IWCreateImage('MEDIA_WERTMULLER_files/spiralbook-creme_bottom.png'),IWCreateImage('MEDIA_WERTMULLER_files/spiralbook-creme_ll.png'),IWCreateImage('MEDIA_WERTMULLER_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','widget4',null,'widget5',{showTitle:true,showMetric:true})});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({reflection_1:new IWReflection({opacity:0.20,offset:2.00}),stroke_0:new IWEmptyStroke(),reflection_0:new IWReflection({opacity:0.20,offset:2.00}),stroke_1:new IWPhotoFrame([IWCreateImage('MEDIA_WERTMULLER_files/Hardcover_bevel_01.png'),IWCreateImage('MEDIA_WERTMULLER_files/Hardcover_bevel_02.png'),IWCreateImage('MEDIA_WERTMULLER_files/Hardcover_bevel_03.png'),IWCreateImage('MEDIA_WERTMULLER_files/Hardcover_bevel_06.png'),IWCreateImage('MEDIA_WERTMULLER_files/Hardcover_bevel_09.png'),IWCreateImage('MEDIA_WERTMULLER_files/Hardcover_bevel_08.png'),IWCreateImage('MEDIA_WERTMULLER_files/Hardcover_bevel_07.png'),IWCreateImage('MEDIA_WERTMULLER_files/Hardcover_bevel_04.png')],null,0,0.650000,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,17.000000,403.000000,295.000000,403.000000,295.000000,null,null,null,0.100000)});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('MEDIA_WERTMULLER_files/MEDIA_WERTMULLERMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','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');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');detectBrowser();adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');Widget.onload();fixAllIEPNGs('../Media/transparent.gif');fixupIECSS3Opacity('id11');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

