// Created by iWeb 2.0.4 local-build-20090804

function createMediaStream_id3()
{return IWCreatePhotocast("http://www.railtec.org/Richard_Stowe/My_Albums/Pages/%22the_cornfields%22_files/rss.xml",true,true);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.railtec.org/Richard_Stowe/My_Albums/Pages',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.railtec.org/Richard_Stowe/My_Albums/Pages',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(3,new IWSize(180,180),new IWSize(180,28),new IWSize(216,223),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-5,5,10,170),url:'%22the_cornfields%22_files/stroke.png'},{rect:new IWRect(-5,-5,10,10),url:'%22the_cornfields%22_files/stroke_1.png'},{rect:new IWRect(5,-5,170,10),url:'%22the_cornfields%22_files/stroke_2.png'},{rect:new IWRect(175,-5,10,10),url:'%22the_cornfields%22_files/stroke_3.png'},{rect:new IWRect(175,5,10,170),url:'%22the_cornfields%22_files/stroke_4.png'},{rect:new IWRect(175,175,10,10),url:'%22the_cornfields%22_files/stroke_5.png'},{rect:new IWRect(5,175,170,10),url:'%22the_cornfields%22_files/stroke_6.png'},{rect:new IWRect(-5,175,10,10),url:'%22the_cornfields%22_files/stroke_7.png'}],new IWSize(180,180)),imageStream,range,null,null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'../../Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id5" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="488" height="382" style="height: 382px; left: 146px; position: absolute; top: 56px; width: 488px; z-index: 1; "><param name="src" value="../../Media/MVI_1217.AVI" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id5" type="video/quicktime" width="488" height="382" style="height: 382px; left: 146px; position: absolute; top: 56px; width: 488px; z-index: 1; "><param name="src" value="%22the_cornfields%22_files/MVI_1217.jpg"/><param name="target" value="myself"/><param name="href" value="../../../Media/MVI_1217.AVI"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id5" type="video/quicktime" width="488" height="382" data="../../Media/MVI_1217.AVI" style="height: 382px; left: 146px; position: absolute; top: 56px; width: 488px; z-index: 1; "><param name="src" value="../../Media/MVI_1217.AVI"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
setTransparentGifURL('../../Media/transparent.gif');function hostedOnDM()
{return true;}
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('"the_cornfields"_files/"the_cornfields"Moz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
detectBrowser();adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');fixupAllIEPNGBGs();Widget.onload();initializeMediaStream_id3()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}
