// Created by iWeb 3.0.1 local-build-20100331

function createMediaStream_id4()
{return IWCreateMediaCollection("http://www.mtriseucc.org/mtriseucc.org/Event_Photos/Event_Photos_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.mtriseucc.org/mtriseucc.org/Event_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('http://www.mtriseucc.org/mtriseucc.org/Event_Photos',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(3,new IWSize(317,238),new IWSize(317,40),new IWSize(321,293),27,27,0,new IWSize(18,19)),new IWPhotoFrame([IWCreateImage('Event_Photos_files/ul.png'),IWCreateImage('Event_Photos_files/top.png'),IWCreateImage('Event_Photos_files/ur.png'),IWCreateImage('Event_Photos_files/right.png'),IWCreateImage('Event_Photos_files/lr.png'),IWCreateImage('Event_Photos_files/bottom.png'),IWCreateImage('Event_Photos_files/ll.png'),IWCreateImage('Event_Photos_files/left.png')],null,0,0.333333,130.000000,10.000000,118.000000,45.000000,147.000000,30.000000,157.000000,83.000000,251.000000,120.000000,260.000000,120.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget8',null,'widget9',{showTitle:true,showMetric:true})});}
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 IWStrokeParts([{rect:new IWRect(-1,1,2,123),url:'Event_Photos_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Event_Photos_files/stroke_1.png'},{rect:new IWRect(1,-1,1002,2),url:'Event_Photos_files/stroke_2.png'},{rect:new IWRect(1003,-1,3,2),url:'Event_Photos_files/stroke_3.png'},{rect:new IWRect(1003,1,3,123),url:'Event_Photos_files/stroke_4.png'},{rect:new IWRect(1003,124,3,2),url:'Event_Photos_files/stroke_5.png'},{rect:new IWRect(1,124,1002,2),url:'Event_Photos_files/stroke_6.png'},{rect:new IWRect(-1,124,2,2),url:'Event_Photos_files/stroke_7.png'}],new IWSize(1004,125)),shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000})});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('Event_Photos_files/Event_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');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}

