// Created by iWeb 2.0.4 local-build-20100711

function createMediaStream_id2()
{return IWCreateMediaCollection("http://www.adriatennor.com/adriatennor.com/Photos/Photos_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.adriatennor.com/adriatennor.com/Photos',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget5'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.adriatennor.com/adriatennor.com/Photos',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(181,136),new IWSize(181,59),new IWSize(187,210),27,27,0,new IWSize(18,17)),new IWPhotoFrame([IWCreateImage('Photos_files/ul.png'),IWCreateImage('Photos_files/top.png'),IWCreateImage('Photos_files/ur.png'),IWCreateImage('Photos_files/right.png'),IWCreateImage('Photos_files/lr.png'),IWCreateImage('Photos_files/bottom.png'),IWCreateImage('Photos_files/ll.png'),IWCreateImage('Photos_files/left.png')],null,0,0.300000,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','widget5',null,'widget6',{showTitle:true,showMetric:false})});}
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_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,472),url:'Photos_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Photos_files/stroke_1.png'},{rect:new IWRect(2,-2,693,4),url:'Photos_files/stroke_2.png'},{rect:new IWRect(695,-2,4,4),url:'Photos_files/stroke_3.png'},{rect:new IWRect(695,2,4,472),url:'Photos_files/stroke_4.png'},{rect:new IWRect(695,474,4,4),url:'Photos_files/stroke_5.png'},{rect:new IWRect(2,474,693,4),url:'Photos_files/stroke_6.png'},{rect:new IWRect(-2,474,4,4),url:'Photos_files/stroke_7.png'}],new IWSize(697,476))});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');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
fixAllIEPNGs('../Media/transparent.gif');IMpreload('Photos_files','shapeimage_2','0');IMpreload('Photos_files','shapeimage_2','1');IMpreload('Photos_files','shapeimage_2','2');IMpreload('Photos_files','shapeimage_2','3');IMpreload('Photos_files','shapeimage_2','4');IMpreload('Photos_files','shapeimage_2','5');IMpreload('Photos_files','shapeimage_2','6');IMpreload('Photos_files','shapeimage_2','7');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}
