// Created by iWeb 3.0.4 local-build-20110823

function createMediaStream_id4()
{return IWCreatePhotocast("http://www.robertolerco.com/Birds/Accipitriformes/Pagine/Poiana_files/rss.xml",false);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.robertolerco.com/Birds/Accipitriformes/Pagine',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://www.robertolerco.com/Birds/Accipitriformes/Pagine',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(3,new IWSize(272,272),new IWSize(272,32),new IWSize(294,319),27,27,0,new IWSize(4,5)),new IWPhotoFrame([IWCreateImage('Poiana_files/green_linen_ul.png'),IWCreateImage('Poiana_files/green_linen_top.png'),IWCreateImage('Poiana_files/green_linen_ur.png'),IWCreateImage('Poiana_files/green_linen_right.png'),IWCreateImage('Poiana_files/green_linen_lr.png'),IWCreateImage('Poiana_files/green_linen_bottom.png'),IWCreateImage('Poiana_files/green_linen_ll.png'),IWCreateImage('Poiana_files/green_linen_left.png')],null,0,1.000000,13.000000,12.000000,13.000000,13.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,null,null,null,0.400000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:2},'../../Media/slideshow.html','widget1','widget2','widget3')});}
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({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})});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('Poiana_files/PoianaMoz.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');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../../Media/transparent.gif');fixupIECSS3Opacity('id7');applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}

