// Created by iWeb 2.0.4 local-build-20090703

function createMediaStream_id2()
{return IWCreateMediaCollection("http://web.me.com/replicon/MC/home/home_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://web.me.com/replicon/MC/home',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget5'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://web.me.com/replicon/MC/home',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(4,new IWSize(160,120),new IWSize(160,34),new IWSize(172,169),27,27,0,new IWSize(18,17)),new IWPhotoFrame([IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/comic_v1/comic_ul.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/comic_v1/comic_top.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/comic_v1/comic_ur.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/comic_v1/comic_right.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/comic_v1/comic_lr.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/comic_v1/comic_bottom.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/comic_v1/comic_ll.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/comic_v1/comic_left.png')],null,0,0.300000,25.000000,20.000000,1.000000,1.000000,40.000000,34.000000,47.000000,42.000000,40.000000,40.000000,40.000000,40.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget5',null,'widget6',{showTitle:true,showMetric:false})});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=getArgs();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="212" height="158" style="height: 158px; left: 488px; position: absolute; top: 184px; width: 212px; z-index: 1; "><param name="src" value="../Media/Chris.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="id5" type="video/quicktime" width="212" height="158" style="height: 158px; left: 488px; position: absolute; top: 184px; width: 212px; z-index: 1; "><param name="src" value="home_files/Chris.jpg"/><param name="target" value="myself"/><param name="href" value="../../Media/Chris.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id5" type="video/quicktime" width="212" height="158" data="../Media/Chris.mov" style="height: 158px; left: 488px; position: absolute; top: 184px; width: 212px; z-index: 1; "><param name="src" value="../Media/Chris.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 writeMovie2()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id9" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="215" height="177" style="height: 177px; left: 486px; position: absolute; top: 386px; width: 215px; z-index: 1; "><param name="src" value="../Media/violet%20testimony.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="id9" type="video/quicktime" width="215" height="177" style="height: 177px; left: 486px; position: absolute; top: 386px; width: 215px; z-index: 1; "><param name="src" value="home_files/violet%20testimony.jpg"/><param name="target" value="myself"/><param name="href" value="../../Media/violet%20testimony.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id9" type="video/quicktime" width="215" height="177" data="../Media/violet%20testimony.mov" style="height: 177px; left: 486px; position: absolute; top: 386px; width: 215px; z-index: 1; "><param name="src" value="../Media/violet%20testimony.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 writeMovie3()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id11" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="217" height="161" style="height: 161px; left: 487px; position: absolute; top: -50px; width: 217px; z-index: 1; "><param name="src" value="../Media/Thois_sister.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="id11" type="video/quicktime" width="217" height="161" style="height: 161px; left: 487px; position: absolute; top: -50px; width: 217px; z-index: 1; "><param name="src" value="home_files/Thois_sister.jpg"/><param name="target" value="myself"/><param name="href" value="../../Media/Thois_sister.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id11" type="video/quicktime" width="217" height="161" data="../Media/Thois_sister.mov" style="height: 161px; left: 487px; position: absolute; top: -50px; width: 217px; z-index: 1; "><param name="src" value="../Media/Thois_sister.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_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,29),url:'home_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'home_files/stroke_1.png'},{rect:new IWRect(1,-1,86,2),url:'home_files/stroke_2.png'},{rect:new IWRect(87,-1,2,2),url:'home_files/stroke_3.png'},{rect:new IWRect(87,1,2,29),url:'home_files/stroke_4.png'},{rect:new IWRect(87,30,2,2),url:'home_files/stroke_5.png'},{rect:new IWRect(1,30,86,2),url:'home_files/stroke_6.png'},{rect:new IWRect(-1,30,2,2),url:'home_files/stroke_7.png'}],new IWSize(88,31)),shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000})});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('home_files/homeMoz.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');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');Widget.onload();fixAllIEPNGs('../Media/transparent.gif');fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}
