// Created by iWeb 3.0.4 local-build-20120125

function createMediaStream_id1()
{return IWCreatePhotocast("http://www.ronbabcock.com/web/Press_files/rss.xml",true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.ronbabcock.com/web',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.ronbabcock.com/web',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(3,new IWSize(194,194),new IWSize(194,15),new IWSize(209,224),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'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=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_1:new IWShadow({blurRadius:9,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.050000}),shadow_5:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_4:new IWShadow({blurRadius:9,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.050000}),shadow_6:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_0:new IWShadow({blurRadius:9,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.050000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,3,6,112),url:'Press_files/stroke.png'},{rect:new IWRect(-2,-4,6,7),url:'Press_files/stroke_1.png'},{rect:new IWRect(4,-4,688,7),url:'Press_files/stroke_2.png'},{rect:new IWRect(692,-4,6,7),url:'Press_files/stroke_3.png'},{rect:new IWRect(692,3,7,112),url:'Press_files/stroke_4.png'},{rect:new IWRect(692,115,7,6),url:'Press_files/stroke_5.png'},{rect:new IWRect(4,115,688,7),url:'Press_files/stroke_6.png'},{rect:new IWRect(-2,115,6,6),url:'Press_files/stroke_7.png'}],new IWSize(696,119)),shadow_2:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_3:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000})});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Press_files/PressMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');detectBrowser();adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');fixAllIEPNGs('Media/transparent.gif');IMpreload('Press_files','shapeimage_1','0');IMpreload('Press_files','shapeimage_2','0');IMpreload('Press_files','shapeimage_3','0');IMpreload('Press_files','shapeimage_4','0');IMpreload('Press_files','shapeimage_5','0');IMpreload('Press_files','shapeimage_6','0');Widget.onload();fixupAllIEPNGBGs();IMpreload('Press_files','shapeimage_21','0');IMpreload('Press_files','shapeimage_21','1');IMpreload('Press_files','shapeimage_21','2');IMpreload('Press_files','shapeimage_21','3');IMpreload('Press_files','shapeimage_21','4');IMpreload('Press_files','shapeimage_21','5');IMpreload('Press_files','shapeimage_21','6');IMpreload('Press_files','shapeimage_21','7');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

