// Created by iWeb 2.0.4 local-build-20100701

function createMediaStream_id3()
{return IWCreatePhotocast("http://web.me.com/joemotion/Site/JM_art_files/rss.xml",false,true);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://web.me.com/joemotion/Site',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://web.me.com/joemotion/Site',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(5,new IWSize(187,187),new IWSize(187,16),new IWSize(198,218),27,27,0,new IWSize(20,22)),new IWPhotoFrame([IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Modern/Modern_C_TL.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Modern/Modern_S_T.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Modern/Modern_C_TR.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Modern/Modern_S_R.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Modern/Modern_C_BR.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Modern/Modern_S_B.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Modern/Modern_C_BL.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Modern/Modern_S_L.png')],null,2,0.560000,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,null,null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id4" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="429" height="338" style="height: 338px; left: 389px; position: absolute; top: 1675px; width: 429px; z-index: 1; "><param name="src" value="Media/%20The%20Art%20of%20Shaping.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="id4" type="video/quicktime" width="429" height="338" style="height: 338px; left: 389px; position: absolute; top: 1675px; width: 429px; z-index: 1; "><param name="src" value="JM_art_files/%20The%20Art%20of%20Shaping-1.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/%20The%20Art%20of%20Shaping.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id4" type="video/quicktime" width="429" height="338" data="Media/%20The%20Art%20of%20Shaping.mov" style="height: 338px; left: 389px; position: absolute; top: 1675px; width: 429px; z-index: 1; "><param name="src" value="Media/%20The%20Art%20of%20Shaping.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({shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-3,3,6,360),url:'JM_art_files/stroke.png'},{rect:new IWRect(-3,-3,6,6),url:'JM_art_files/stroke_1.png'},{rect:new IWRect(3,-3,350,6),url:'JM_art_files/stroke_2.png'},{rect:new IWRect(353,-3,6,6),url:'JM_art_files/stroke_3.png'},{rect:new IWRect(353,3,6,360),url:'JM_art_files/stroke_4.png'},{rect:new IWRect(353,363,6,6),url:'JM_art_files/stroke_5.png'},{rect:new IWRect(3,363,350,6),url:'JM_art_files/stroke_6.png'},{rect:new IWRect(-3,363,6,6),url:'JM_art_files/stroke_7.png'}],new IWSize(356,366)),shadow_0:new IWShadow({blurRadius:15,offset:new IWPoint(0.0349,0.9994),color:'#e7db29',opacity:1.000000}),reflection_2:new IWReflection({opacity:0.39,offset:1.00}),reflection_1:new IWReflection({opacity:1.00,offset:1.00}),stroke_1:new IWEmptyStroke(),reflection_0:new IWReflection({opacity:1.00,offset:1.00})});registry.applyEffects();}
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('JM_art_files/JM_artMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');fixAllIEPNGs('Media/transparent.gif');IMpreload('JM_art_files','shapeimage_3','0');fixupIECSS3Opacity('id2');Widget.onload();applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
