// Created by iWeb 2.0.4 local-build-20090126

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.nunnery.com.au/The_Nunnery/The_Nunnery_Photo_Gallery_files/rss.xml",false,true);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.nunnery.com.au/The_Nunnery',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.nunnery.com.au/The_Nunnery',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(5,new IWSize(99,99),new IWSize(99,32),new IWSize(122,146),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_9:new IWShadow({blurRadius:0,offset:new IWPoint(0.0000,0.0000),color:'#91bfc1',opacity:0.600000}),shadow_5:new IWShadow({blurRadius:0,offset:new IWPoint(0.0000,0.0000),color:'#91bfc1',opacity:0.600000}),shadow_4:new IWShadow({blurRadius:0,offset:new IWPoint(0.0000,0.0000),color:'#91bfc1',opacity:0.600000}),shadow_6:new IWShadow({blurRadius:0,offset:new IWPoint(0.0000,0.0000),color:'#16a8c1',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:0,offset:new IWPoint(0.0000,0.0000),color:'#c5f0dd',opacity:0.600000}),shadow_11:new IWShadow({blurRadius:6,offset:new IWPoint(5.1962,3.0000),color:'#000000',opacity:0.670000}),shadow_1:new IWShadow({blurRadius:0,offset:new IWPoint(0.0000,0.0000),color:'#c5f0dd',opacity:0.600000}),shadow_2:new IWShadow({blurRadius:0,offset:new IWPoint(0.0000,0.0000),color:'#c5f0dd',opacity:0.600000}),shadow_10:new IWShadow({blurRadius:6,offset:new IWPoint(5.1962,3.0000),color:'#000000',opacity:0.670000}),shadow_7:new IWShadow({blurRadius:0,offset:new IWPoint(0.0000,0.0000),color:'#16a8c1',opacity:0.750000}),shadow_3:new IWShadow({blurRadius:0,offset:new IWPoint(0.0000,0.0000),color:'#91bfc1',opacity:0.600000}),shadow_8:new IWShadow({blurRadius:0,offset:new IWPoint(0.0000,0.0000),color:'#91bfc1',opacity:0.600000})});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('The_Nunnery_Photo_Gallery_files/The_Nunnery_Photo_GalleryMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');Widget.onload();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}
