// Created by iWeb 3.0.1 local-build-20100215

function createMediaStream_id3()
{return IWCreatePhotocast("http://www.tudyk.com/portfolio/s.tudyk_potluck_files/rss.xml",false);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.tudyk.com/portfolio',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://www.tudyk.com/portfolio',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(4,new IWSize(114,114),new IWSize(114,112),new IWSize(171,241),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-1,1,2,112),url:'s.tudyk_potluck_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'s.tudyk_potluck_files/stroke_9.png'},{rect:new IWRect(1,-1,112,2),url:'s.tudyk_potluck_files/stroke_10.png'},{rect:new IWRect(113,-1,2,2),url:'s.tudyk_potluck_files/stroke_11.png'},{rect:new IWRect(113,1,2,112),url:'s.tudyk_potluck_files/stroke_12.png'},{rect:new IWRect(113,113,2,2),url:'s.tudyk_potluck_files/stroke_13.png'},{rect:new IWRect(1,113,112,2),url:'s.tudyk_potluck_files/stroke_14.png'},{rect:new IWRect(-1,113,2,2),url:'s.tudyk_potluck_files/stroke_15.png'}],new IWSize(114,114)),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,3,32),url:'s.tudyk_potluck_files/stroke_24.png'},{rect:new IWRect(-1,-2,3,3),url:'s.tudyk_potluck_files/stroke_25.png'},{rect:new IWRect(2,-2,83,3),url:'s.tudyk_potluck_files/stroke_26.png'},{rect:new IWRect(85,-2,4,3),url:'s.tudyk_potluck_files/stroke_27.png'},{rect:new IWRect(85,1,4,32),url:'s.tudyk_potluck_files/stroke_28.png'},{rect:new IWRect(85,33,4,3),url:'s.tudyk_potluck_files/stroke_29.png'},{rect:new IWRect(2,33,83,3),url:'s.tudyk_potluck_files/stroke_30.png'},{rect:new IWRect(-1,33,3,3),url:'s.tudyk_potluck_files/stroke_31.png'}],new IWSize(88,35)),stroke_3:new IWStrokeParts([{rect:new IWRect(-1,1,3,32),url:'s.tudyk_potluck_files/stroke_32.png'},{rect:new IWRect(-1,-2,3,3),url:'s.tudyk_potluck_files/stroke_33.png'},{rect:new IWRect(2,-2,83,3),url:'s.tudyk_potluck_files/stroke_34.png'},{rect:new IWRect(85,-2,4,3),url:'s.tudyk_potluck_files/stroke_35.png'},{rect:new IWRect(85,1,4,32),url:'s.tudyk_potluck_files/stroke_36.png'},{rect:new IWRect(85,33,4,3),url:'s.tudyk_potluck_files/stroke_37.png'},{rect:new IWRect(2,33,83,3),url:'s.tudyk_potluck_files/stroke_38.png'},{rect:new IWRect(-1,33,3,3),url:'s.tudyk_potluck_files/stroke_39.png'}],new IWSize(88,35)),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,31),url:'s.tudyk_potluck_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'s.tudyk_potluck_files/stroke_1.png'},{rect:new IWRect(1,-1,72,2),url:'s.tudyk_potluck_files/stroke_2.png'},{rect:new IWRect(73,-1,3,2),url:'s.tudyk_potluck_files/stroke_3.png'},{rect:new IWRect(73,1,3,31),url:'s.tudyk_potluck_files/stroke_4.png'},{rect:new IWRect(73,32,3,4),url:'s.tudyk_potluck_files/stroke_5.png'},{rect:new IWRect(1,32,72,4),url:'s.tudyk_potluck_files/stroke_6.png'},{rect:new IWRect(-1,32,2,4),url:'s.tudyk_potluck_files/stroke_7.png'}],new IWSize(75,35)),stroke_4:new IWStrokeParts([{rect:new IWRect(-1,1,3,32),url:'s.tudyk_potluck_files/stroke_40.png'},{rect:new IWRect(-1,-2,3,3),url:'s.tudyk_potluck_files/stroke_41.png'},{rect:new IWRect(2,-2,70,3),url:'s.tudyk_potluck_files/stroke_42.png'},{rect:new IWRect(72,-2,4,3),url:'s.tudyk_potluck_files/stroke_43.png'},{rect:new IWRect(72,1,4,32),url:'s.tudyk_potluck_files/stroke_44.png'},{rect:new IWRect(72,33,4,3),url:'s.tudyk_potluck_files/stroke_45.png'},{rect:new IWRect(2,33,70,3),url:'s.tudyk_potluck_files/stroke_46.png'},{rect:new IWRect(-1,33,3,3),url:'s.tudyk_potluck_files/stroke_47.png'}],new IWSize(75,35)),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,2,2,30),url:'s.tudyk_potluck_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,3),url:'s.tudyk_potluck_files/stroke_17.png'},{rect:new IWRect(1,-1,97,3),url:'s.tudyk_potluck_files/stroke_18.png'},{rect:new IWRect(98,-1,4,3),url:'s.tudyk_potluck_files/stroke_19.png'},{rect:new IWRect(98,2,4,30),url:'s.tudyk_potluck_files/stroke_20.png'},{rect:new IWRect(98,32,4,4),url:'s.tudyk_potluck_files/stroke_21.png'},{rect:new IWRect(1,32,97,4),url:'s.tudyk_potluck_files/stroke_22.png'},{rect:new IWRect(-1,32,2,4),url:'s.tudyk_potluck_files/stroke_23.png'}],new IWSize(101,35))});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('s.tudyk_potluck_files/s.tudyk_potluckMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
fixupIECSS3Opacity('id2');Widget.onload();fixupIECSS3Opacity('id4');fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
