// Created by iWeb 3.0 local-build-20090311

function createMediaStream_id1()
{return IWCreatePhotocast("file://localhost/Users/manuelchanacabello/Desktop/web/Sitio_web/CartaPostres_files/rss.xml",false);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('file://localhost/Users/manuelchanacabello/Desktop/web/Sitio_web',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('file://localhost/Users/manuelchanacabello/Desktop/web/Sitio_web',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(1,new IWSize(608,608),new IWSize(608,16),new IWSize(611,639),27,27,0,new IWSize(32,28)),new IWPhotoFrame([IWCreateImage('CartaPostres_files/highlighter_ul.png'),IWCreateImage('CartaPostres_files/highlighter_top.png'),IWCreateImage('CartaPostres_files/highlighter_ur.png'),IWCreateImage('CartaPostres_files/highlighter_right.png'),IWCreateImage('CartaPostres_files/highlighter_lr.png'),IWCreateImage('CartaPostres_files/highlighter_bottom.png'),IWCreateImage('CartaPostres_files/highlighter_ll.png'),IWCreateImage('CartaPostres_files/highlighter_left.png')],null,1,1.000000,17.000000,24.000000,17.000000,24.000000,33.000000,38.000000,33.000000,38.000000,40.000000,40.000000,40.000000,40.000000,null,null,null,0.500000),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWEmptyStroke()});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('CartaPostres_files/CartaPostresMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
Widget.onload();applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

