// Created by iWeb 2.0.4 local-build-20091013

function createMediaStream_id6()
{return IWCreatePhotocast("http://www.mikeriggsdesigns.com/lighting/cape_files/rss.xml",false,true);}
function initializeMediaStream_id6()
{createMediaStream_id6().load('http://www.mikeriggsdesigns.com/lighting',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id6',{pageIndex:0}));});}
function layoutMediaGrid_id6(range)
{createMediaStream_id6().load('http://www.mikeriggsdesigns.com/lighting',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id6',new IWPhotoGridLayout(2,new IWSize(258,258),new IWSize(258,0),new IWSize(309,272),27,27,0,new IWSize(0,0)),new IWEmptyStroke(),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),null,1.000000,null,'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id6(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id6(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_4:new IWShadow({blurRadius:5,offset:new IWPoint(4.0150,5.7341),color:'#333333',opacity:1.000000}),shadow_0:new IWShadow({blurRadius:5,offset:new IWPoint(6.3093,9.0107),color:'#ffffff',opacity:0.420000}),shadow_1:new IWShadow({blurRadius:5,offset:new IWPoint(6.3093,9.0107),color:'#ffffff',opacity:0.420000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,74),url:'cape_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'cape_files/stroke_1.png'},{rect:new IWRect(1,-1,961,2),url:'cape_files/stroke_2.png'},{rect:new IWRect(962,-1,2,2),url:'cape_files/stroke_3.png'},{rect:new IWRect(962,1,2,74),url:'cape_files/stroke_4.png'},{rect:new IWRect(962,75,2,2),url:'cape_files/stroke_5.png'},{rect:new IWRect(1,75,961,2),url:'cape_files/stroke_6.png'},{rect:new IWRect(-1,75,2,2),url:'cape_files/stroke_7.png'}],new IWSize(963,76)),shadow_3:new IWShadow({blurRadius:5,offset:new IWPoint(4.0150,5.7341),color:'#333333',opacity:1.000000}),shadow_2:new IWShadow({blurRadius:14,offset:new IWPoint(2.1213,2.1213),color:'#cccccc',opacity:0.750000})});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('cape_files/capeMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');NotificationCenter.addObserver(null,relayoutMediaGrid_id6,'RangeChanged','id6')
adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id6()}
function onPageUnload()
{Widget.onunload();}
