// Created by iWeb 2.0.4 local-build-20090907

function createMediaStream_id2()
{return IWCreateMediaCollection("file://localhost/Users/mariannegeraldes/Bella_Vida_Espanol/Slideshow/Slideshow_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('file://localhost/Users/mariannegeraldes/Bella_Vida_Espanol/Slideshow',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget3'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('file://localhost/Users/mariannegeraldes/Bella_Vida_Espanol/Slideshow',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(1,new IWSize(325,244),new IWSize(325,34),new IWSize(488,293),27,27,0,new IWSize(135,111)),new IWPhotoFrame([IWCreateImage('Slideshow_files/leatherbook_ul.png'),IWCreateImage('Slideshow_files/leatherbook_top.png'),IWCreateImage('Slideshow_files/leatherbook_ur.png'),IWCreateImage('Slideshow_files/leatherbook_right.png'),IWCreateImage('Slideshow_files/leatherbook_lr.png'),IWCreateImage('Slideshow_files/leatherbook_bottom.png'),IWCreateImage('Slideshow_files/leatherbook_ll.png'),IWCreateImage('Slideshow_files/leatherbook_left.png')],null,0,1.000000,6.000000,6.000000,6.000000,6.000000,87.000000,54.000000,60.000000,69.000000,20.000000,16.000000,18.000000,16.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget3',null,'widget4',{showTitle:false,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({stroke_1:new IWStrokeParts([{rect:new IWRect(-2,-1,1,33),url:'Slideshow_files/stroke.png'},{rect:new IWRect(-2,-2,1,1),url:'Slideshow_files/stroke_1.png'},{rect:new IWRect(-1,-2,150,1),url:'Slideshow_files/stroke_2.png'},{rect:new IWRect(149,-2,1,1),url:'Slideshow_files/stroke_3.png'},{rect:new IWRect(149,-1,1,33),url:'Slideshow_files/stroke_4.png'},{rect:new IWRect(149,32,1,1),url:'Slideshow_files/stroke_5.png'},{rect:new IWRect(-1,32,150,1),url:'Slideshow_files/stroke_6.png'},{rect:new IWRect(-2,32,1,1),url:'Slideshow_files/stroke_7.png'}],new IWSize(148,30)),stroke_0:new IWPhotoFrame([IWCreateImage('Slideshow_files/Watercolor_iweb_01.png'),IWCreateImage('Slideshow_files/Watercolor_iweb_02.png'),IWCreateImage('Slideshow_files/Watercolor_iweb_04.png'),IWCreateImage('Slideshow_files/Watercolor_iweb_08.png'),IWCreateImage('Slideshow_files/Watercolor_iweb_16.png'),IWCreateImage('Slideshow_files/Watercolor_iweb_14.png'),IWCreateImage('Slideshow_files/Watercolor_iweb_13.png'),IWCreateImage('Slideshow_files/Watercolor_iweb_05.png')],null,0,0.800000,0.000000,0.000000,0.000000,0.000000,12.000000,12.000000,11.000000,11.000000,13.000000,12.000000,13.000000,12.000000,null,null,null,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')
IWRegisterNamedImage('contribution overlay','../Media/Photo-Overlay-Contribution.png')
loadMozillaCSS('Slideshow_files/SlideshowMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');fixAllIEPNGs('../Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();IMpreload('Slideshow_files','shapeimage_30','0');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

