// Created by iWeb 2.0.4 local-build-20100524

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.tropicalpenguin.com/Tropical_Penguin_Swim_Products/Swim_Bench_Photos_files/rss.xml",false,true);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.tropicalpenguin.com/Tropical_Penguin_Swim_Products',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.tropicalpenguin.com/Tropical_Penguin_Swim_Products',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(5,new IWSize(161,161),new IWSize(161,52),new IWSize(194,228),27,27,0,new IWSize(31,30)),new IWPhotoFrame([IWCreateImage('Swim_Bench_Photos_files/notebook_ul.png'),IWCreateImage('Swim_Bench_Photos_files/notebook_top.png'),IWCreateImage('Swim_Bench_Photos_files/notebook_ur.png'),IWCreateImage('Swim_Bench_Photos_files/notebook_right.png'),IWCreateImage('Swim_Bench_Photos_files/notebook_lr.png'),IWCreateImage('Swim_Bench_Photos_files/notebook_bottom.png'),IWCreateImage('Swim_Bench_Photos_files/notebook_ll.png'),IWCreateImage('Swim_Bench_Photos_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:'#0000ff',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:9},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');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('Swim_Bench_Photos_files/Swim_Bench_PhotosMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');fixAllIEPNGs('Media/transparent.gif');Widget.onload();IMpreload('Swim_Bench_Photos_files','shapeimage_2','0');IMpreload('Swim_Bench_Photos_files','shapeimage_3','0');IMpreload('Swim_Bench_Photos_files','shapeimage_4','0');IMpreload('Swim_Bench_Photos_files','shapeimage_5','0');IMpreload('Swim_Bench_Photos_files','shapeimage_6','0');initializeMediaStream_id2()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}
