// Created by iWeb 2.0.3 local-build-20080707

function createMediaStream_id2()
{return IWCreatePhotocast("http://web.mac.com/randyorr/DI/Feature_files/rss.xml",false,true);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://web.mac.com/randyorr/DI',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://web.mac.com/randyorr/DI',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(184,184),new IWSize(184,30),new IWSize(220,229),27,27,0,new IWSize(6,6)),new IWPhotoFrame([IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Formal%20Inset/Formal_inset_01.png'),IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Formal%20Inset/Formal_inset_02.png'),IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Formal%20Inset/Formal_inset_03.png'),IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Formal%20Inset/Formal_inset_06.png'),IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Formal%20Inset/Formal_inset_09.png'),IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Formal%20Inset/Formal_inset_08.png'),IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Formal%20Inset/Formal_inset_07.png'),IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Formal%20Inset/Formal_inset_04.png')],null,0,0.250000,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,new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.850000}),null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
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();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,53),url:'Feature_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Feature_files/stroke_1.png'},{rect:new IWRect(1,-1,159,2),url:'Feature_files/stroke_2.png'},{rect:new IWRect(160,-1,3,2),url:'Feature_files/stroke_3.png'},{rect:new IWRect(160,1,3,53),url:'Feature_files/stroke_4.png'},{rect:new IWRect(160,54,3,2),url:'Feature_files/stroke_5.png'},{rect:new IWRect(1,54,159,2),url:'Feature_files/stroke_6.png'},{rect:new IWRect(-1,54,2,2),url:'Feature_files/stroke_7.png'}],new IWSize(161,55)),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(2.8284,2.8284),color:'#000000',opacity:0.853333})});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('Feature_files/FeatureMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');detectBrowser();adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');fixupAllIEPNGBGs();Widget.onload();fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id7');fixupIECSS3Opacity('id9');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}
