// Created by iWeb 3.0.1 local-build-20091023

function createMediaStream_id3()
{return IWCreateMediaCollection("file://localhost/Users/JasonTownley/Desktop/CliffStreet/Cliff_Street/photos/photos_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('file://localhost/Users/JasonTownley/Desktop/CliffStreet/Cliff_Street/photos',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget7'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('file://localhost/Users/JasonTownley/Desktop/CliffStreet/Cliff_Street/photos',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(2,new IWSize(259,194),new IWSize(259,34),new IWSize(309,243),27,27,0,new IWSize(108,95)),new IWPhotoFrame([IWCreateImage('photos_files/spiralbook-creme_ul.png'),IWCreateImage('photos_files/spiralbook-creme_top.png'),IWCreateImage('photos_files/spiralbook-creme_ur.png'),IWCreateImage('photos_files/spiralbook-creme_right.png'),IWCreateImage('photos_files/spiralbook-creme_lr.png'),IWCreateImage('photos_files/spiralbook-creme_bottom.png'),IWCreateImage('photos_files/spiralbook-creme_ll.png'),IWCreateImage('photos_files/spiralbook-creme_left.png')],null,1,1.000000,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','widget7',null,'widget8',{showTitle:true,showMetric:true})});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-6,5,9,266),url:'photos_files/stroke.png'},{rect:new IWRect(-22,-15,0,0),url:null},{rect:new IWRect(3,-6,819,11),url:'photos_files/stroke_1.png'},{rect:new IWRect(822,-5,10,10),url:'photos_files/stroke_2.png'},{rect:new IWRect(822,5,11,266),url:'photos_files/stroke_3.png'},{rect:new IWRect(822,271,11,10),url:'photos_files/stroke_4.png'},{rect:new IWRect(3,271,819,10),url:'photos_files/stroke_5.png'},{rect:new IWRect(-6,271,9,9),url:'photos_files/stroke_6.png'}],new IWSize(828,276)),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(1.3121,-1.5094),color:'#ffffff',opacity:0.540000}),reflection_0:new IWReflection({opacity:0.18,offset:6.00}),stroke_1:new IWStrokeParts([{rect:new IWRect(-5,5,7,189),url:'photos_files/stroke_7.png'},{rect:new IWRect(-4,-4,6,9),url:'photos_files/stroke_8.png'},{rect:new IWRect(2,-4,111,9),url:'photos_files/stroke_9.png'},{rect:new IWRect(113,-6,8,11),url:'photos_files/stroke_10.png'},{rect:new IWRect(113,5,8,189),url:'photos_files/stroke_11.png'},{rect:new IWRect(113,194,7,11),url:'photos_files/stroke_12.png'},{rect:new IWRect(2,194,111,8),url:'photos_files/stroke_13.png'},{rect:new IWRect(-7,194,9,10),url:'photos_files/stroke_14.png'}],new IWSize(116,199))});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('photos_files/photosMoz.css')
detectBrowser();adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
