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

function iWebWriteCounter()
{try
{writeCounter();}
catch(e)
{}}
function createMediaStream_id4()
{return IWCreatePhotocast("http://www.danstella.com/danstella.com/Labor_Day_2007,_Saugatuck,_MI_files/rss.xml",true);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.danstella.com/danstella.com',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.danstella.com/danstella.com',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(3,new IWSize(163,163),new IWSize(163,64),new IWSize(196,242),27,27,0,new IWSize(24,24)),new IWPhotoFrame([IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Crayon_BK_v4%20%2801%29.png'),IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Crayon_BK_v4%20%2802%29.png'),IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Crayon_BK_v4%20%2803%29.png'),IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Crayon_BK_v4%20%2805%29.png'),IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Crayon_BK_v4%20%2808%29.png'),IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Crayon_BK_v4%20%2807%29.png'),IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Crayon_BK_v4%20%2806%29.png'),IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Crayon_BK_v4%20%2804%29.png')],null,0,0.581579,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,new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:1,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=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWPhotoFrame([IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Scrapbook2b_01.png'),IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Scrapbook2b_02.png'),IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Scrapbook2b_03.png'),IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Scrapbook2b_06.png'),IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Scrapbook2b_09.png'),IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Scrapbook2b_08.png'),IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Scrapbook2b_07.png'),IWCreateImage('Labor_Day_2007,_Saugatuck,_MI_files/Scrapbook2b_04.png')],null,2,0.700000,7.000000,8.000000,7.000000,2.000000,13.000000,13.000000,14.000000,22.000000,269.000000,363.000000,269.000000,363.000000,null,null,null,0.100000)});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Labor_Day_2007,_Saugatuck,_MI_files/Labor_Day_2007,_Saugatuck,_MIMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');detectBrowser();Widget.onload();fixAllIEPNGs('Media/transparent.gif');iWebWriteCounter();applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}

