// Created by iWeb 3.0.4 local-build-20110901

function createMediaStream_id3()
{return IWCreatePhotocast("http://www.ppnv.com/public/COMPETITIONS_2010_files/rss.xml",false);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.ppnv.com/public',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.ppnv.com/public',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(4,new IWSize(190,190),new IWSize(190,57),new IWSize(197,262),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-1,1,2,187),url:'COMPETITIONS_2010_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'COMPETITIONS_2010_files/stroke_9.png'},{rect:new IWRect(1,-1,187,2),url:'COMPETITIONS_2010_files/stroke_10.png'},{rect:new IWRect(188,-1,2,2),url:'COMPETITIONS_2010_files/stroke_11.png'},{rect:new IWRect(188,1,2,187),url:'COMPETITIONS_2010_files/stroke_12.png'},{rect:new IWRect(188,188,2,2),url:'COMPETITIONS_2010_files/stroke_13.png'},{rect:new IWRect(1,188,187,2),url:'COMPETITIONS_2010_files/stroke_14.png'},{rect:new IWRect(-1,188,2,2),url:'COMPETITIONS_2010_files/stroke_15.png'}],new IWSize(189,189)),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(0.5229,5.9772),color:'#0099ff',opacity:0.750000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,26),url:'COMPETITIONS_2010_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'COMPETITIONS_2010_files/stroke_1.png'},{rect:new IWRect(1,-1,124,2),url:'COMPETITIONS_2010_files/stroke_2.png'},{rect:new IWRect(125,-1,2,2),url:'COMPETITIONS_2010_files/stroke_3.png'},{rect:new IWRect(125,1,2,26),url:'COMPETITIONS_2010_files/stroke_4.png'},{rect:new IWRect(125,27,2,2),url:'COMPETITIONS_2010_files/stroke_5.png'},{rect:new IWRect(1,27,124,2),url:'COMPETITIONS_2010_files/stroke_6.png'},{rect:new IWRect(-1,27,2,2),url:'COMPETITIONS_2010_files/stroke_7.png'}],new IWSize(126,28)),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000})});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('COMPETITIONS_2010_files/COMPETITIONS_2010Moz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

