// Created by iWeb 3.0.1 local-build-20100603

function createMediaStream_id3()
{return IWCreatePhotocast("http://www.flatblackfilms.com/Flat_Black_Films/Films/Pages/Roadhead_files/rss.xml",true);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.flatblackfilms.com/Flat_Black_Films/Films/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.flatblackfilms.com/Flat_Black_Films/Films/Pages',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(3,new IWSize(166,166),new IWSize(166,0),new IWSize(204,181),27,27,0,new IWSize(0,0)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,null,'../../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=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id6" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="640" height="496" style="height: 496px; left: 31px; position: absolute; top: 69px; width: 640px; z-index: 1; "><param name="src" value="../../Media/RoadHead-desktop-2.m4v" /><param name="starttime" value="00:00:04:3.2" /><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="id6" type="video/quicktime" width="640" height="496" style="height: 496px; left: 31px; position: absolute; top: 69px; width: 640px; z-index: 1; "><param name="src" value="Roadhead_files/RoadHead-desktop-5.jpg"/><param name="target" value="myself"/><param name="href" value="../../../Media/RoadHead-desktop-2.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id6" type="video/quicktime" width="640" height="496" data="../../Media/RoadHead-desktop-2.m4v" starttime="00:00:04:3.2" style="height: 496px; left: 31px; position: absolute; top: 69px; width: 640px; z-index: 1; "><param name="src" value="../../Media/RoadHead-desktop-2.m4v"/><param name="starttime" value="00:00:04:3.2"/><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 false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','../../Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','../../Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Roadhead_files/RoadheadMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');fixAllIEPNGs('../../Media/transparent.gif');Widget.onload();initializeMediaStream_id3()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}

