// Created by iWeb 2.0.4 local-build-20090126

function createMediaStream_id1()
{return IWCreateMediaCollection("file://localhost/Users/SirAlex/Desktop/untitled%20site/CPA/Fotos/Fotos_files/rss.xml",true,8,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('file://localhost/Users/SirAlex/Desktop/untitled%20site/CPA/Fotos',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget7'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('file://localhost/Users/SirAlex/Desktop/untitled%20site/CPA/Fotos',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(303,227),new IWSize(303,32),new IWSize(336,274),27,27,0,new IWSize(2,2)),new IWPhotoFrame([IWCreateImage('Fotos_files/Formal_inset_01.png'),IWCreateImage('Fotos_files/Formal_inset_02.png'),IWCreateImage('Fotos_files/Formal_inset_03.png'),IWCreateImage('Fotos_files/Formal_inset_06.png'),IWCreateImage('Fotos_files/Formal_inset_09.png'),IWCreateImage('Fotos_files/Formal_inset_08.png'),IWCreateImage('Fotos_files/Formal_inset_07.png'),IWCreateImage('Fotos_files/Formal_inset_04.png')],null,0,0.100000,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','widget7',null,'widget8',{showTitle:false,showMetric:true})});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_4:new IWShadow({blurRadius:20,offset:new IWPoint(0.0000,0.0000),color:'#ff7f00',opacity:1.000000}),shadow_3:new IWShadow({blurRadius:20,offset:new IWPoint(0.0000,0.0000),color:'#ff7f00',opacity:1.000000}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(0.0000,-0.0000),color:'#ff7f00',opacity:1.000000}),stroke_0:new IWPhotoFrame([IWCreateImage('Fotos_files/Formal_inset_01.png'),IWCreateImage('Fotos_files/Formal_inset_02.png'),IWCreateImage('Fotos_files/Formal_inset_03.png'),IWCreateImage('Fotos_files/Formal_inset_06.png'),IWCreateImage('Fotos_files/Formal_inset_09.png'),IWCreateImage('Fotos_files/Formal_inset_08.png'),IWCreateImage('Fotos_files/Formal_inset_07.png'),IWCreateImage('Fotos_files/Formal_inset_04.png')],null,0,0.100000,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),shadow_2:new IWShadow({blurRadius:20,offset:new IWPoint(0.0000,0.0000),color:'#ff7f00',opacity:1.000000}),shadow_5:new IWShadow({blurRadius:20,offset:new IWPoint(0.0000,0.0000),color:'#ff7f00',opacity:1.000000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(0.0000,0.0000),color:'#ff7f00',opacity:1.000000})});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('Fotos_files/FotosMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');IMpreload('Fotos_files','shapeimage_3','0');IMpreload('Fotos_files','shapeimage_3','1');IMpreload('Fotos_files','shapeimage_4','0');IMpreload('Fotos_files','shapeimage_4','1');IMpreload('Fotos_files','shapeimage_5','0');IMpreload('Fotos_files','shapeimage_5','1');IMpreload('Fotos_files','shapeimage_6','0');IMpreload('Fotos_files','shapeimage_6','1');fixupIECSS3Opacity('id2');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

