// Created by iWeb 2.0.4 local-build-20100222

function createMediaStream_id4()
{return IWCreateMediaCollection("file://localhost/Users/meganmcclung/Desktop/GRCCO/Photos/Photos_files/rss.xml",true,9,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('file://localhost/Users/meganmcclung/Desktop/GRCCO/Photos',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget8'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('file://localhost/Users/meganmcclung/Desktop/GRCCO/Photos',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(2,new IWSize(274,206),new IWSize(274,32),new IWSize(336,253),27,27,0,new IWSize(12,12)),new IWPhotoFrame([IWCreateImage('Photos_files/Formal_inset_01.png'),IWCreateImage('Photos_files/Formal_inset_02.png'),IWCreateImage('Photos_files/Formal_inset_03.png'),IWCreateImage('Photos_files/Formal_inset_06.png'),IWCreateImage('Photos_files/Formal_inset_09.png'),IWCreateImage('Photos_files/Formal_inset_08.png'),IWCreateImage('Photos_files/Formal_inset_07.png'),IWCreateImage('Photos_files/Formal_inset_04.png')],null,0,0.500000,1.000000,1.000000,1.000000,1.000000,14.000000,14.000000,14.000000,14.000000,191.000000,262.000000,191.000000,262.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget8',null,'widget9',{showTitle:true,showMetric:false})});}
function relayoutMediaGrid_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_2:new IWStrokeParts([{rect:new IWRect(-2,2,4,111),url:'Photos_files/stroke_16.png'},{rect:new IWRect(-2,-2,4,4),url:'Photos_files/stroke_17.png'},{rect:new IWRect(2,-2,112,4),url:'Photos_files/stroke_18.png'},{rect:new IWRect(114,-2,4,4),url:'Photos_files/stroke_19.png'},{rect:new IWRect(114,2,4,111),url:'Photos_files/stroke_20.png'},{rect:new IWRect(114,113,4,5),url:'Photos_files/stroke_21.png'},{rect:new IWRect(2,113,112,5),url:'Photos_files/stroke_22.png'},{rect:new IWRect(-2,113,4,5),url:'Photos_files/stroke_23.png'}],new IWSize(116,115)),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,80),url:'Photos_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Photos_files/stroke_1.png'},{rect:new IWRect(1,-1,890,2),url:'Photos_files/stroke_2.png'},{rect:new IWRect(891,-1,2,2),url:'Photos_files/stroke_3.png'},{rect:new IWRect(891,1,2,80),url:'Photos_files/stroke_4.png'},{rect:new IWRect(891,81,2,2),url:'Photos_files/stroke_5.png'},{rect:new IWRect(1,81,890,2),url:'Photos_files/stroke_6.png'},{rect:new IWRect(-1,81,2,2),url:'Photos_files/stroke_7.png'}],new IWSize(892,82)),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,61),url:'Photos_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'Photos_files/stroke_9.png'},{rect:new IWRect(1,-1,699,2),url:'Photos_files/stroke_10.png'},{rect:new IWRect(700,-1,2,2),url:'Photos_files/stroke_11.png'},{rect:new IWRect(700,1,2,61),url:'Photos_files/stroke_12.png'},{rect:new IWRect(700,62,2,2),url:'Photos_files/stroke_13.png'},{rect:new IWRect(1,62,699,2),url:'Photos_files/stroke_14.png'},{rect:new IWRect(-1,62,2,2),url:'Photos_files/stroke_15.png'}],new IWSize(701,63))});registry.applyEffects();}
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('Photos_files/PhotosMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}

