// Created by iWeb 2.0.4 local-build-20100902

function createMediaStream_id4()
{return IWCreateMediaCollection("http://www.dennyandleemagicclub.com/D%26L_Magic_Club/Denny_%26_Lee_Magic_Club_2009_Photos/Denny_%26_Lee_Magic_Club_2009_Photos_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.dennyandleemagicclub.com/D%26L_Magic_Club/Denny_%26_Lee_Magic_Club_2009_Photos',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget15'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://www.dennyandleemagicclub.com/D%26L_Magic_Club/Denny_%26_Lee_Magic_Club_2009_Photos',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(4,new IWSize(128,96),new IWSize(128,31),new IWSize(172,142),27,27,0,new IWSize(62,51)),new IWPhotoFrame([IWCreateImage('Denny_%26_Lee_Magic_Club_2009_Photos_files/ul.png'),IWCreateImage('Denny_%26_Lee_Magic_Club_2009_Photos_files/top.png'),IWCreateImage('Denny_%26_Lee_Magic_Club_2009_Photos_files/ur.png'),IWCreateImage('Denny_%26_Lee_Magic_Club_2009_Photos_files/right.png'),IWCreateImage('Denny_%26_Lee_Magic_Club_2009_Photos_files/lr.png'),IWCreateImage('Denny_%26_Lee_Magic_Club_2009_Photos_files/bottom.png'),IWCreateImage('Denny_%26_Lee_Magic_Club_2009_Photos_files/ll.png'),IWCreateImage('Denny_%26_Lee_Magic_Club_2009_Photos_files/left.png')],null,1,0.500000,0.000000,0.000000,0.000000,0.000000,78.000000,46.000000,45.000000,55.000000,300.000000,313.000000,300.000000,313.000000,null,null,null,0.500000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget15',null,'widget16',{showTitle:true,showMetric:false})});}
function relayoutMediaGrid_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:3,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:1.000000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-3,2,5,74),url:'Denny_%26_Lee_Magic_Club_2009_Photos_files/stroke.png'},{rect:new IWRect(-3,-4,5,6),url:'Denny_%26_Lee_Magic_Club_2009_Photos_files/stroke_1.png'},{rect:new IWRect(2,-3,103,5),url:'Denny_%26_Lee_Magic_Club_2009_Photos_files/stroke_2.png'},{rect:new IWRect(105,-2,5,4),url:'Denny_%26_Lee_Magic_Club_2009_Photos_files/stroke_3.png'},{rect:new IWRect(105,2,4,74),url:'Denny_%26_Lee_Magic_Club_2009_Photos_files/stroke_4.png'},{rect:new IWRect(105,76,4,6),url:'Denny_%26_Lee_Magic_Club_2009_Photos_files/stroke_5.png'},{rect:new IWRect(2,76,103,5),url:'Denny_%26_Lee_Magic_Club_2009_Photos_files/stroke_6.png'},{rect:new IWRect(-3,76,5,6),url:'Denny_%26_Lee_Magic_Club_2009_Photos_files/stroke_7.png'}],new IWSize(107,80)),reflection_0:new IWReflection({opacity:0.15,offset:0.52})});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('Denny_&_Lee_Magic_Club_2009_Photos_files/Denny_&_Lee_Magic_Club_2009_PhotosMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');fixAllIEPNGs('../Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}
