// Created by iWeb 3.0.1 local-build-20100523

function createMediaStream_id3()
{return IWCreatePhotocast("http://www.riptragle.com/Rip_Tragle_-_Moments_In_Time/TRAVELS/Pages/Poughkeepsie_Train_Bridge_files/rss.xml",false);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.riptragle.com/Rip_Tragle_-_Moments_In_Time/TRAVELS/Pages',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.riptragle.com/Rip_Tragle_-_Moments_In_Time/TRAVELS/Pages',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(3,new IWSize(284,284),new IWSize(284,64),new IWSize(329,363),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-4,-1,3,286),url:'Poughkeepsie_Train_Bridge_files/stroke_8.png'},{rect:new IWRect(-4,-4,3,3),url:'Poughkeepsie_Train_Bridge_files/stroke_9.png'},{rect:new IWRect(-1,-4,286,3),url:'Poughkeepsie_Train_Bridge_files/stroke_10.png'},{rect:new IWRect(285,-4,3,3),url:'Poughkeepsie_Train_Bridge_files/stroke_11.png'},{rect:new IWRect(285,-1,3,286),url:'Poughkeepsie_Train_Bridge_files/stroke_12.png'},{rect:new IWRect(285,285,3,3),url:'Poughkeepsie_Train_Bridge_files/stroke_13.png'},{rect:new IWRect(-1,285,286,3),url:'Poughkeepsie_Train_Bridge_files/stroke_14.png'},{rect:new IWRect(-4,285,3,3),url:'Poughkeepsie_Train_Bridge_files/stroke_15.png'}],new IWSize(284,284)),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.880000}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:0,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:9},'../../Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-6,-1,5,403),url:'Poughkeepsie_Train_Bridge_files/stroke.png'},{rect:new IWRect(-6,-6,5,5),url:'Poughkeepsie_Train_Bridge_files/stroke_1.png'},{rect:new IWRect(-1,-6,874,5),url:'Poughkeepsie_Train_Bridge_files/stroke_2.png'},{rect:new IWRect(873,-6,5,5),url:'Poughkeepsie_Train_Bridge_files/stroke_3.png'},{rect:new IWRect(873,-1,5,403),url:'Poughkeepsie_Train_Bridge_files/stroke_4.png'},{rect:new IWRect(873,402,5,5),url:'Poughkeepsie_Train_Bridge_files/stroke_5.png'},{rect:new IWRect(-1,402,874,5),url:'Poughkeepsie_Train_Bridge_files/stroke_6.png'},{rect:new IWRect(-6,402,5,5),url:'Poughkeepsie_Train_Bridge_files/stroke_7.png'}],new IWSize(872,401)),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.880000}),shadow_2:new IWShadow({blurRadius:12,offset:new IWPoint(2.0876,14.8540),color:'#000000',opacity:0.630000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.880000}),reflection_0:new IWReflection({opacity:1.00,offset:1.00})});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('Poughkeepsie_Train_Bridge_files/Poughkeepsie_Train_BridgeMoz.css')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
detectBrowser();Widget.onload();fixupIECSS3Opacity('id1');fixupAllIEPNGBGs();fixAllIEPNGs('../../Media/transparent.gif');IMpreload('Poughkeepsie_Train_Bridge_files','shapeimage_2','0');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

