// Created by iWeb 2.0.2 local-build-20071021

function createMediaStream_id5()
{return IWCreatePhotocast("http://www.clubnataciolleida.com/CLUB_NATACIO_LLEIDA/ESTADES_files/rss.xml",false,true);}
function initializeMediaStream_id5()
{createMediaStream_id5().load('http://www.clubnataciolleida.com/CLUB_NATACIO_LLEIDA',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id5',{pageIndex:0}));});}
function layoutMediaGrid_id5(range)
{createMediaStream_id5().load('http://www.clubnataciolleida.com/CLUB_NATACIO_LLEIDA',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id5',new IWPhotoGridLayout(3,new IWSize(180,180),new IWSize(180,0),new IWSize(216,195),27,27,0,new IWSize(31,30)),new IWPhotoFrame([IWCreateImage('ESTADES_files/notebook_ul.png'),IWCreateImage('ESTADES_files/notebook_top.png'),IWCreateImage('ESTADES_files/notebook_ur.png'),IWCreateImage('ESTADES_files/notebook_right.png'),IWCreateImage('ESTADES_files/notebook_lr.png'),IWCreateImage('ESTADES_files/notebook_bottom.png'),IWCreateImage('ESTADES_files/notebook_ll.png'),IWCreateImage('ESTADES_files/notebook_left.png')],null,0,1.000000,3.000000,2.000000,1.000000,3.000000,18.000000,16.000000,17.000000,19.000000,76.000000,123.000000,79.000000,122.000000,null,null,null,0.400000),imageStream,range,null,null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id5(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id5(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id5(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:5,offset:new IWPoint(1.9682,2.2641),color:'#000000',opacity:0.500000})});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('ESTADES_files/ESTADESMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');NotificationCenter.addObserver(null,relayoutMediaGrid_id5,'RangeChanged','id5')
adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id5()}
function onPageUnload()
{Widget.onunload();}

