// Created by iWeb 2.0.4 local-build-20110328

function createMediaStream_id4()
{return IWCreatePhotocast("http://www.delgadoboxing.net/Delgado_Boxing/Albums/Pages/ATL_PAL_2009_Cheifs_Cup_files/rss.xml",true,true);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.delgadoboxing.net/Delgado_Boxing/Albums/Pages',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://www.delgadoboxing.net/Delgado_Boxing/Albums/Pages',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(6,new IWSize(112,112),new IWSize(112,48),new IWSize(135,175),27,27,0,new IWSize(14,15)),new IWPhotoFrame([IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Freestyle/Freestyle_01.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Freestyle/Freestyle_02.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Freestyle/Freestyle_03.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Freestyle/Freestyle_06.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Freestyle/Freestyle_09.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Freestyle/Freestyle_08.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Freestyle/Freestyle_07.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Freestyle/Freestyle_04.png')],null,2,0.333333,3.000000,3.000000,3.000000,3.000000,22.000000,24.000000,23.000000,25.000000,166.000000,222.000000,166.000000,222.000000,null,null,null,0.100000),imageStream,range,new IWShadow({blurRadius:9,offset:new IWPoint(0.7071,0.7071),color:'#463c3c',opacity:0.300000}),null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'../../Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,2),url:'ATL_PAL_2009_Cheifs_Cup_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'ATL_PAL_2009_Cheifs_Cup_files/stroke_1.png'},{rect:new IWRect(1,-1,840,2),url:'ATL_PAL_2009_Cheifs_Cup_files/stroke_2.png'},{rect:new IWRect(841,-1,2,2),url:'ATL_PAL_2009_Cheifs_Cup_files/stroke_3.png'},{rect:new IWRect(841,1,2,2),url:'ATL_PAL_2009_Cheifs_Cup_files/stroke_4.png'},{rect:new IWRect(841,3,2,2),url:'ATL_PAL_2009_Cheifs_Cup_files/stroke_5.png'},{rect:new IWRect(1,3,840,2),url:'ATL_PAL_2009_Cheifs_Cup_files/stroke_6.png'},{rect:new IWRect(-1,3,2,2),url:'ATL_PAL_2009_Cheifs_Cup_files/stroke_7.png'}],new IWSize(842,4)),shadow_2:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.800000}),shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#463c3c',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#463c3c',opacity:0.800000})});registry.applyEffects();}
function hostedOnDM()
{return true;}
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('ATL_PAL_2009_Cheifs_Cup_files/ATL_PAL_2009_Cheifs_CupMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
detectBrowser();adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');fixupAllIEPNGBGs();Widget.onload();fixAllIEPNGs('../../Media/transparent.gif');applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}

