// Created by iWeb 3.0.1 local-build-20100417

function createMediaStream_id2()
{return IWCreateMediaCollection("http://www.mordecainetwork.org/Mordecai_Network/Mordecai_Network/Mordecai_Network_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.mordecainetwork.org/Mordecai_Network/Mordecai_Network',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget4'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.mordecainetwork.org/Mordecai_Network/Mordecai_Network',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(1,new IWSize(404,303),new IWSize(404,32),new IWSize(488,350),27,27,0,new IWSize(16,16)),new IWPhotoFrame([IWCreateImage('Mordecai_Network_files/Formal_inset_01.png'),IWCreateImage('Mordecai_Network_files/Formal_inset_02.png'),IWCreateImage('Mordecai_Network_files/Formal_inset_03.png'),IWCreateImage('Mordecai_Network_files/Formal_inset_06.png'),IWCreateImage('Mordecai_Network_files/Formal_inset_09.png'),IWCreateImage('Mordecai_Network_files/Formal_inset_08.png'),IWCreateImage('Mordecai_Network_files/Formal_inset_07.png'),IWCreateImage('Mordecai_Network_files/Formal_inset_04.png')],null,0,0.600000,1.000000,1.000000,1.000000,1.000000,14.000000,14.000000,14.000000,14.000000,191.000000,262.000000,191.000000,262.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget4',null,'widget5',{showTitle:true,showMetric:false})});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),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="196" height="163" style="height: 163px; left: 254px; position: absolute; top: 730px; width: 196px; z-index: 1; "><param name="src" value="../Media/Mordecai%20Network%20Website-mobile.m4v" /><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="196" height="163" style="height: 163px; left: 254px; position: absolute; top: 730px; width: 196px; z-index: 1; "><param name="src" value="Mordecai_Network_files/Mordecai%20Network%20Website-mobile.jpg"/><param name="target" value="myself"/><param name="href" value="../../Media/Mordecai%20Network%20Website-mobile.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id5" type="video/quicktime" width="196" height="163" data="../Media/Mordecai%20Network%20Website-mobile.m4v" style="height: 163px; left: 254px; position: absolute; top: 730px; width: 196px; z-index: 1; "><param name="src" value="../Media/Mordecai%20Network%20Website-mobile.m4v"/><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({shadow_0:new IWShadow({blurRadius:0,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.333333})});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('Mordecai_Network_files/Mordecai_NetworkMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');IMpreload('Mordecai_Network_files','shapeimage_3','0');IMpreload('Mordecai_Network_files','shapeimage_3','1');IMpreload('Mordecai_Network_files','shapeimage_3','2');IMpreload('Mordecai_Network_files','shapeimage_3','3');IMpreload('Mordecai_Network_files','shapeimage_4','0');IMpreload('Mordecai_Network_files','shapeimage_5','0');IMpreload('Mordecai_Network_files','shapeimage_5','1');IMpreload('Mordecai_Network_files','shapeimage_6','0');IMpreload('Mordecai_Network_files','shapeimage_7','0');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

