// Created by iWeb 3.0.4 local-build-20120120

function createMediaStream_id7()
{return IWCreateMediaCollection("http://www.ptwatercraft.com/ptwatercraft/Albums/Albums_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id7()
{createMediaStream_id7().load('http://www.ptwatercraft.com/ptwatercraft/Albums',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget12'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id7',{pageIndex:0}));});}
function layoutMediaGrid_id7(range)
{createMediaStream_id7().load('http://www.ptwatercraft.com/ptwatercraft/Albums',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id7',new IWPhotoGridLayout(2,new IWSize(247,185),new IWSize(247,37),new IWSize(309,237),27,27,0,new IWSize(78,69)),new IWPhotoFrame([IWCreateImage('Albums_files/spiralbook-creme_ul.png'),IWCreateImage('Albums_files/spiralbook-creme_top.png'),IWCreateImage('Albums_files/spiralbook-creme_ur.png'),IWCreateImage('Albums_files/spiralbook-creme_right.png'),IWCreateImage('Albums_files/spiralbook-creme_lr.png'),IWCreateImage('Albums_files/spiralbook-creme_bottom.png'),IWCreateImage('Albums_files/spiralbook-creme_ll.png'),IWCreateImage('Albums_files/spiralbook-creme_left.png')],null,1,0.714286,15.000000,0.000000,0.000000,0.000000,83.000000,40.000000,40.000000,55.000000,106.000000,40.000000,40.000000,32.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget12',null,'widget13',{showTitle:true,showMetric:true})});}
function relayoutMediaGrid_id7(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id7(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id7(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#cccccc',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('Albums_files/AlbumsMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');NotificationCenter.addObserver(null,relayoutMediaGrid_id7,'RangeChanged','id7')
adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');Widget.onload();fixAllIEPNGs('../Media/transparent.gif');fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id7()}
function onPageUnload()
{Widget.onunload();}

