// Created by iWeb 2.0.4 local-build-20080925

function createMediaStream_id1()
{return IWCreatePhotocast("http://theratpacknow.com/RatPackNow/Photos_files/rss.xml",false,true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://theratpacknow.com/RatPackNow',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://theratpacknow.com/RatPackNow',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(3,new IWSize(174,174),new IWSize(174,0),new IWSize(214,189),27,27,0,new IWSize(6,6)),new IWPhotoFrame([IWCreateImage('Photos_files/Headlines_01.png'),IWCreateImage('Photos_files/Headlines_02.png'),IWCreateImage('Photos_files/Headlines_03.png'),IWCreateImage('Photos_files/Headlines_06.png'),IWCreateImage('Photos_files/Headlines_09.png'),IWCreateImage('Photos_files/Headlines_08.png'),IWCreateImage('Photos_files/Headlines_07.png'),IWCreateImage('Photos_files/Headlines_04.png')],null,0,0.597368,-3.000000,-3.000000,-3.000000,-3.000000,2.000000,2.000000,2.000000,2.000000,4.000000,4.000000,4.000000,4.000000,null,null,null,0.100000),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('Photos_files/PhotosMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');detectBrowser();Widget.onload();fixAllIEPNGs('Media/transparent.gif');IMpreload('Photos_files','shapeimage_1','0');IMpreload('Photos_files','shapeimage_1','1');IMpreload('Photos_files','shapeimage_1','2');IMpreload('Photos_files','shapeimage_1','3');initializeMediaStream_id1()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}

