// Created by iWeb 3.0.1 local-build-20100319

function createMediaStream_id3()
{return IWCreatePhotocast("http://impetuoustheater.org/ImpetuousTheater.org/Events/Pages/After_Darwin_files/rss.xml",false);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://impetuoustheater.org/ImpetuousTheater.org/Events/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://impetuoustheater.org/ImpetuousTheater.org/Events/Pages',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(1,new IWSize(546,546),new IWSize(546,35),new IWSize(656,596),27,27,0,new IWSize(20,33)),new IWPhotoFrame([IWCreateImage('After_Darwin_files/Pushpin_01.jpg'),IWCreateImage('After_Darwin_files/Pushpin_02.jpg'),IWCreateImage('After_Darwin_files/Pushpin_03.jpg'),IWCreateImage('After_Darwin_files/Pushpin_06.jpg'),IWCreateImage('After_Darwin_files/Pushpin_09.jpg'),IWCreateImage('After_Darwin_files/Pushpin_02_1.jpg'),IWCreateImage('After_Darwin_files/Pushpin_03_1.jpg'),IWCreateImage('After_Darwin_files/Pushpin_04.jpg')],null,1,0.555556,0.000000,0.000000,0.000000,0.000000,18.000000,18.000000,18.000000,18.000000,298.000000,472.000000,298.000000,472.000000,'After_Darwin_files/bullet_pp_3.png',new IWPoint(0.500000,-10),new IWSize(45,65),0.100000),imageStream,range,null,null,1.000000,null,'../../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();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id7" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="300" height="185" style="height: 185px; left: 200px; position: absolute; top: 671px; width: 300px; z-index: 1; "><param name="src" value="../../Media/AfterDarwinExit.mov" /><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="id7" type="video/quicktime" width="300" height="185" style="height: 185px; left: 200px; position: absolute; top: 671px; width: 300px; z-index: 1; "><param name="src" value="After_Darwin_files/AfterDarwinExit.jpg"/><param name="target" value="myself"/><param name="href" value="../../../Media/AfterDarwinExit.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id7" type="video/quicktime" width="300" height="185" data="../../Media/AfterDarwinExit.mov" style="height: 185px; left: 200px; position: absolute; top: 671px; width: 300px; z-index: 1; "><param name="src" value="../../Media/AfterDarwinExit.mov"/><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 applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_1:new IWStrokeParts([{rect:new IWRect(-2,2,4,106),url:'After_Darwin_files/stroke_8.png'},{rect:new IWRect(-2,-2,4,4),url:'After_Darwin_files/stroke_9.png'},{rect:new IWRect(2,-2,118,4),url:'After_Darwin_files/stroke_10.png'},{rect:new IWRect(120,-2,4,4),url:'After_Darwin_files/stroke_11.png'},{rect:new IWRect(120,2,4,106),url:'After_Darwin_files/stroke_12.png'},{rect:new IWRect(120,108,4,4),url:'After_Darwin_files/stroke_13.png'},{rect:new IWRect(2,108,118,4),url:'After_Darwin_files/stroke_14.png'},{rect:new IWRect(-2,108,4,4),url:'After_Darwin_files/stroke_15.png'}],new IWSize(122,110)),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,107),url:'After_Darwin_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'After_Darwin_files/stroke_1.png'},{rect:new IWRect(2,-2,191,4),url:'After_Darwin_files/stroke_2.png'},{rect:new IWRect(193,-2,5,4),url:'After_Darwin_files/stroke_3.png'},{rect:new IWRect(193,2,5,107),url:'After_Darwin_files/stroke_4.png'},{rect:new IWRect(193,109,5,4),url:'After_Darwin_files/stroke_5.png'},{rect:new IWRect(2,109,191,4),url:'After_Darwin_files/stroke_6.png'},{rect:new IWRect(-2,109,4,4),url:'After_Darwin_files/stroke_7.png'}],new IWSize(196,111))});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('After_Darwin_files/After_DarwinMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../../Media/transparent.gif');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
