// Created by iWeb 2.0.4 local-build-20100731

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id8" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="320" height="256" style="height: 256px; left: 646px; position: absolute; top: 217px; width: 320px; z-index: 1; "><param name="src" value="Media/Money_Stone_Hi_Res_Trailer2.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="id8" type="video/quicktime" width="320" height="256" style="height: 256px; left: 646px; position: absolute; top: 217px; width: 320px; z-index: 1; "><param name="src" value="MEDIA_files/Money_Stone_Hi_Res_Trailer2.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Money_Stone_Hi_Res_Trailer2.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id8" type="video/quicktime" width="320" height="256" data="Media/Money_Stone_Hi_Res_Trailer2.mov" style="height: 256px; left: 646px; position: absolute; top: 217px; width: 320px; z-index: 1; "><param name="src" value="Media/Money_Stone_Hi_Res_Trailer2.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>');}}
function createMediaStream_id12()
{return IWCreatePhotocast("http://www.moneystonefilm.com/MONEY_STONE_FINAL/MEDIA_files/rss.xml",true,true);}
function initializeMediaStream_id12()
{createMediaStream_id12().load('http://www.moneystonefilm.com/MONEY_STONE_FINAL',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id12',{pageIndex:0}));});}
function layoutMediaGrid_id12(range)
{createMediaStream_id12().load('http://www.moneystonefilm.com/MONEY_STONE_FINAL',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id12',new IWPhotoGridLayout(3,new IWSize(155,155),new IWSize(155,30),new IWSize(186,200),27,27,0,new IWSize(18,19)),new IWPhotoFrame([IWCreateImage('MEDIA_files/Modern_C_TL.png'),IWCreateImage('MEDIA_files/Modern_S_T.png'),IWCreateImage('MEDIA_files/Modern_C_TR.png'),IWCreateImage('MEDIA_files/Modern_S_R.png'),IWCreateImage('MEDIA_files/Modern_C_BR.png'),IWCreateImage('MEDIA_files/Modern_S_B.png'),IWCreateImage('MEDIA_files/Modern_C_BL.png'),IWCreateImage('MEDIA_files/Modern_S_L.png')],null,2,0.500000,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,20.000000,40.000000,40.000000,40.000000,240.000000,null,null,null,0.100000),imageStream,range,new IWShadow({blurRadius:9,offset:new IWPoint(0.7071,0.7071),color:'#463c3c',opacity:0.300000}),null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id12(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id12(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,-0.0000),color:'#000000',opacity:1.000000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,25),url:'MEDIA_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'MEDIA_files/stroke_1.png'},{rect:new IWRect(1,-1,104,2),url:'MEDIA_files/stroke_2.png'},{rect:new IWRect(105,-1,2,2),url:'MEDIA_files/stroke_3.png'},{rect:new IWRect(105,1,2,25),url:'MEDIA_files/stroke_4.png'},{rect:new IWRect(105,26,2,2),url:'MEDIA_files/stroke_5.png'},{rect:new IWRect(1,26,104,2),url:'MEDIA_files/stroke_6.png'},{rect:new IWRect(-1,26,2,2),url:'MEDIA_files/stroke_7.png'}],new IWSize(106,27)),shadow_0:new IWShadow({blurRadius:1,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.440000})});registry.applyEffects();}
function hostedOnDM()
{return false;}
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('MEDIA_files/MEDIAMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');NotificationCenter.addObserver(null,relayoutMediaGrid_id12,'RangeChanged','id12')
adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id2');IMpreload('MEDIA_files','shapeimage_4','0');fixupIECSS3Opacity('id11');Widget.onload();applyEffects()
initializeMediaStream_id12()}
function onPageUnload()
{Widget.onunload();}

