// Created by iWeb 2.0.4 local-build-20080812

function createMediaStream_id1()
{return IWCreatePhotocast("http://www.pellicha.com/pelli_cha/cha_cha_collection_files/rss.xml",true,true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.pellicha.com/pelli_cha',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.pellicha.com/pelli_cha',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(3,new IWSize(144,144),new IWSize(144,30),new IWSize(172,189),27,27,0,new IWSize(20,20)),new IWPhotoFrame([IWCreateImage('cha_cha_collection_files/highlighter_ul.png'),IWCreateImage('cha_cha_collection_files/highlighter_top.png'),IWCreateImage('cha_cha_collection_files/highlighter_ur.png'),IWCreateImage('cha_cha_collection_files/highlighter_right.png'),IWCreateImage('cha_cha_collection_files/highlighter_lr.png'),IWCreateImage('cha_cha_collection_files/highlighter_bottom.png'),IWCreateImage('cha_cha_collection_files/highlighter_ll.png'),IWCreateImage('cha_cha_collection_files/highlighter_left.png')],null,1,0.666667,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','widget0','widget1','widget2')});}
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 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('cha_cha_collection_files/cha_cha_collectionMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
detectBrowser();Widget.onload();fixAllIEPNGs('Media/transparent.gif');initializeMediaStream_id1()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}

