// Created by iWeb 3.0.1 local-build-20100409
function createMediaStream_id4()
{return IWCreatePhotocast("http://richardleonphotography.com/richardleonphotography/RLP_SpecialProjects_files/rss.xml",true);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://richardleonphotography.com/richardleonphotography',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://richardleonphotography.com/richardleonphotography',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(6,new IWSize(86,86),new IWSize(86,0),new IWSize(105,101),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:0,reflectionOffset:2,captionHeight:0,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_1:new IWStrokeParts([{rect:new IWRect(-4,4,8,522),url:'RLP_SpecialProjects_files/stroke.png'},{rect:new IWRect(-4,-4,8,8),url:'RLP_SpecialProjects_files/stroke_1.png'},{rect:new IWRect(4,-4,461,8),url:'RLP_SpecialProjects_files/stroke_2.png'},{rect:new IWRect(465,-4,8,8),url:'RLP_SpecialProjects_files/stroke_3.png'},{rect:new IWRect(465,4,8,522),url:'RLP_SpecialProjects_files/stroke_4.png'},{rect:new IWRect(465,526,8,9),url:'RLP_SpecialProjects_files/stroke_5.png'},{rect:new IWRect(4,526,461,9),url:'RLP_SpecialProjects_files/stroke_6.png'},{rect:new IWRect(-4,526,8,9),url:'RLP_SpecialProjects_files/stroke_7.png'}],new IWSize(469,531)),stroke_2:new IWEmptyStroke(),stroke_0:new IWEmptyStroke(),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_3:new IWEmptyStroke(),shadow_1:new IWShadow({blurRadius:5,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.050000})});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('RLP_SpecialProjects_files/RLP_SpecialProjectsMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');IMpreload('RLP_SpecialProjects_files','shapeimage_5','0');IMpreload('RLP_SpecialProjects_files','shapeimage_5','1');IMpreload('RLP_SpecialProjects_files','shapeimage_5','2');IMpreload('RLP_SpecialProjects_files','shapeimage_5','3');IMpreload('RLP_SpecialProjects_files','shapeimage_5','4');IMpreload('RLP_SpecialProjects_files','shapeimage_5','5');IMpreload('RLP_SpecialProjects_files','shapeimage_5','6');IMpreload('RLP_SpecialProjects_files','shapeimage_5','7');Widget.onload();IMpreload('RLP_SpecialProjects_files','shapeimage_10','0');IMpreload('RLP_SpecialProjects_files','shapeimage_11','0');IMpreload('RLP_SpecialProjects_files','shapeimage_12','0');IMpreload('RLP_SpecialProjects_files','shapeimage_13','0');IMpreload('RLP_SpecialProjects_files','shapeimage_14','0');applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}
