// Created by iWeb 3.0.4 local-build-20110718

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.camarcantonio.it/en/accomodation_files/rss.xml",false);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.camarcantonio.it/en',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.camarcantonio.it/en',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(165,165),new IWSize(165,0),new IWSize(204,180),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_1:new IWPhotoFrame([IWCreateImage('accomodation_files/NewTravel_C_TL.png'),IWCreateImage('accomodation_files/NewTravel_S_T.png'),IWCreateImage('accomodation_files/NewTravel_C_TR.png'),IWCreateImage('accomodation_files/NewTravel_S_R.png'),IWCreateImage('accomodation_files/NewTravel_C_BR.png'),IWCreateImage('accomodation_files/NewTravel_S_B.png'),IWCreateImage('accomodation_files/NewTravel_C_BL.png'),IWCreateImage('accomodation_files/NewTravel_S_L.png')],null,1,0.900000,71.000000,0.000000,62.000000,62.000000,83.000000,9.000000,73.000000,77.000000,8.000000,8.000000,8.000000,9.000000,null,null,null,0.400000),stroke_4:new IWPhotoFrame([IWCreateImage('accomodation_files/NewTravel_C_TL_3.png'),IWCreateImage('accomodation_files/NewTravel_S_T_3.png'),IWCreateImage('accomodation_files/NewTravel_C_TR_3.png'),IWCreateImage('accomodation_files/NewTravel_S_R_3.png'),IWCreateImage('accomodation_files/NewTravel_C_BR_3.png'),IWCreateImage('accomodation_files/NewTravel_S_B_3.png'),IWCreateImage('accomodation_files/NewTravel_C_BL_3.png'),IWCreateImage('accomodation_files/NewTravel_S_L_3.png')],null,1,0.900000,71.000000,0.000000,62.000000,62.000000,83.000000,9.000000,73.000000,77.000000,8.000000,8.000000,8.000000,9.000000,null,null,null,0.400000),stroke_2:new IWPhotoFrame([IWCreateImage('accomodation_files/NewTravel_C_TL_1.png'),IWCreateImage('accomodation_files/NewTravel_S_T_1.png'),IWCreateImage('accomodation_files/NewTravel_C_TR_1.png'),IWCreateImage('accomodation_files/NewTravel_S_R_1.png'),IWCreateImage('accomodation_files/NewTravel_C_BR_1.png'),IWCreateImage('accomodation_files/NewTravel_S_B_1.png'),IWCreateImage('accomodation_files/NewTravel_C_BL_1.png'),IWCreateImage('accomodation_files/NewTravel_S_L_1.png')],null,1,0.900000,71.000000,0.000000,62.000000,62.000000,83.000000,9.000000,73.000000,77.000000,8.000000,8.000000,8.000000,9.000000,null,null,null,0.400000),stroke_3:new IWPhotoFrame([IWCreateImage('accomodation_files/NewTravel_C_TL_2.png'),IWCreateImage('accomodation_files/NewTravel_S_T_2.png'),IWCreateImage('accomodation_files/NewTravel_C_TR_2.png'),IWCreateImage('accomodation_files/NewTravel_S_R_2.png'),IWCreateImage('accomodation_files/NewTravel_C_BR_2.png'),IWCreateImage('accomodation_files/NewTravel_S_B_2.png'),IWCreateImage('accomodation_files/NewTravel_C_BL_2.png'),IWCreateImage('accomodation_files/NewTravel_S_L_2.png')],null,1,0.900000,71.000000,0.000000,62.000000,62.000000,83.000000,9.000000,73.000000,77.000000,8.000000,8.000000,8.000000,9.000000,null,null,null,0.400000),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('accomodation_files/accomodationMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

