// Created by iWeb 2.0.2 local-build-20071021

function createMediaStream_id5()
{return IWCreatePhotocast("http://www.clubnataciolleida.com/CLUB_NATACIO_LLEIDA/INSTAL_TENNIS_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(176,176),new IWSize(176,0),new IWSize(211,191),27,27,0,new IWSize(18,19)),new IWPhotoFrame([IWCreateImage('INSTAL_TENNIS_files/Modern_C_TL.png'),IWCreateImage('INSTAL_TENNIS_files/Modern_S_T.png'),IWCreateImage('INSTAL_TENNIS_files/Modern_C_TR.png'),IWCreateImage('INSTAL_TENNIS_files/Modern_S_R.png'),IWCreateImage('INSTAL_TENNIS_files/Modern_C_BR.png'),IWCreateImage('INSTAL_TENNIS_files/Modern_S_B.png'),IWCreateImage('INSTAL_TENNIS_files/Modern_C_BL.png'),IWCreateImage('INSTAL_TENNIS_files/Modern_S_L.png')],null,2,0.500000,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,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('INSTAL_TENNIS_files/INSTAL_TENNISMoz.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');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');fixAllIEPNGs('Media/transparent.gif');Widget.onload();IMpreload('INSTAL_TENNIS_files','shapeimage_1','0');IMpreload('INSTAL_TENNIS_files','shapeimage_1','1');IMpreload('INSTAL_TENNIS_files','shapeimage_1','2');IMpreload('INSTAL_TENNIS_files','shapeimage_1','3');IMpreload('INSTAL_TENNIS_files','shapeimage_1','4');IMpreload('INSTAL_TENNIS_files','shapeimage_1','5');IMpreload('INSTAL_TENNIS_files','shapeimage_1','6');IMpreload('INSTAL_TENNIS_files','shapeimage_1','7');IMpreload('INSTAL_TENNIS_files','shapeimage_1','8');IMpreload('INSTAL_TENNIS_files','shapeimage_1','9');applyEffects()
initializeMediaStream_id5()}
function onPageUnload()
{Widget.onunload();}

