// Created by iWeb 3.0.2 local-build-20101026
//
//  iWeb - iWebHitCounter.js
//  Copyright (c) 2007-2008 Apple Inc. All rights reserved.
//

function iWebWriteCounter()
{try
{writeCounter();}
catch(e)
{}}
function createMediaStream_id2()
{return IWCreatePhotocast("http://www.pixelsbypaul.com/Pixels_By_Paul/Pano_files/rss.xml",false);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.pixelsbypaul.com/Pixels_By_Paul',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget2'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.pixelsbypaul.com/Pixels_By_Paul',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(512,512),new IWSize(512,32),new IWSize(529,559),27,27,0,new IWSize(10,10)),new IWPhotoFrame([IWCreateImage('Pano_files/Crayon_BK_v4%20%2801%29.png'),IWCreateImage('Pano_files/Crayon_BK_v4%20%2802%29.png'),IWCreateImage('Pano_files/Crayon_BK_v4%20%2803%29.png'),IWCreateImage('Pano_files/Crayon_BK_v4%20%2805%29.png'),IWCreateImage('Pano_files/Crayon_BK_v4%20%2808%29.png'),IWCreateImage('Pano_files/Crayon_BK_v4%20%2807%29.png'),IWCreateImage('Pano_files/Crayon_BK_v4%20%2806%29.png'),IWCreateImage('Pano_files/Crayon_BK_v4%20%2804%29.png')],null,0,0.233333,19.000000,19.000000,19.000000,19.000000,41.000000,41.000000,41.000000,41.000000,2.000000,1.000000,2.000000,1.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:0,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget2','widget3','widget4')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Pano_files/PanoMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');detectBrowser();NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
Widget.onload();fixAllIEPNGs('Media/transparent.gif');iWebWriteCounter();initializeMediaStream_id2()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}

