// Created by iWeb 3.0.1 local-build-20100216

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.dirkhayhurst.com/Dirkhayhurst.com/Garfoose_files/rss.xml",true);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.dirkhayhurst.com/Dirkhayhurst.com',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://www.dirkhayhurst.com/Dirkhayhurst.com',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(4,new IWSize(132,132),new IWSize(132,42),new IWSize(156,189),27,27,0,new IWSize(2,4)),new IWPhotoFrame([IWCreateImage('Garfoose_files/Scrapbook2_01.png'),IWCreateImage('Garfoose_files/Scrapbook2_02.png'),IWCreateImage('Garfoose_files/Scrapbook2_03.png'),IWCreateImage('Garfoose_files/Scrapbook2_06.png'),IWCreateImage('Garfoose_files/Scrapbook2_09.png'),IWCreateImage('Garfoose_files/Scrapbook2_08.png'),IWCreateImage('Garfoose_files/Scrapbook2_07.png'),IWCreateImage('Garfoose_files/Scrapbook2_04.png')],null,2,0.100000,31.000000,2.000000,25.000000,2.000000,45.000000,19.000000,38.000000,35.000000,282.000000,320.000000,282.000000,320.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',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=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,94),url:'Garfoose_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'Garfoose_files/stroke_9.png'},{rect:new IWRect(1,-1,333,2),url:'Garfoose_files/stroke_10.png'},{rect:new IWRect(334,-1,2,2),url:'Garfoose_files/stroke_11.png'},{rect:new IWRect(334,1,2,94),url:'Garfoose_files/stroke_12.png'},{rect:new IWRect(334,95,2,2),url:'Garfoose_files/stroke_13.png'},{rect:new IWRect(1,95,333,2),url:'Garfoose_files/stroke_14.png'},{rect:new IWRect(-1,95,2,2),url:'Garfoose_files/stroke_15.png'}],new IWSize(335,96)),stroke_4:new IWStrokeParts([{rect:new IWRect(-5,4,8,234),url:'Garfoose_files/stroke_32.png'},{rect:new IWRect(-8,-3,11,7),url:'Garfoose_files/stroke_33.png'},{rect:new IWRect(3,-3,278,7),url:'Garfoose_files/stroke_34.png'},{rect:new IWRect(281,-3,7,7),url:'Garfoose_files/stroke_35.png'},{rect:new IWRect(281,4,5,234),url:'Garfoose_files/stroke_36.png'},{rect:new IWRect(281,238,6,11),url:'Garfoose_files/stroke_37.png'},{rect:new IWRect(3,238,278,10),url:'Garfoose_files/stroke_38.png'},{rect:new IWRect(-6,238,9,8),url:'Garfoose_files/stroke_39.png'}],new IWSize(283,243)),stroke_3:new IWStrokeParts([{rect:new IWRect(-3,2,5,243),url:'Garfoose_files/stroke_24.png'},{rect:new IWRect(-3,-4,5,6),url:'Garfoose_files/stroke_25.png'},{rect:new IWRect(2,-3,329,5),url:'Garfoose_files/stroke_26.png'},{rect:new IWRect(331,-2,5,4),url:'Garfoose_files/stroke_27.png'},{rect:new IWRect(331,2,4,243),url:'Garfoose_files/stroke_28.png'},{rect:new IWRect(331,245,4,6),url:'Garfoose_files/stroke_29.png'},{rect:new IWRect(2,245,329,5),url:'Garfoose_files/stroke_30.png'},{rect:new IWRect(-3,245,5,6),url:'Garfoose_files/stroke_31.png'}],new IWSize(333,249)),stroke_5:new IWStrokeParts([{rect:new IWRect(-4,2,8,373),url:'Garfoose_files/stroke_40.png'},{rect:new IWRect(-7,-9,11,11),url:'Garfoose_files/stroke_41.png'},{rect:new IWRect(4,-5,275,7),url:'Garfoose_files/stroke_42.png'},{rect:new IWRect(279,-5,8,7),url:'Garfoose_files/stroke_43.png'},{rect:new IWRect(279,2,6,373),url:'Garfoose_files/stroke_44.png'},{rect:new IWRect(279,375,6,8),url:'Garfoose_files/stroke_45.png'},{rect:new IWRect(4,375,275,7),url:'Garfoose_files/stroke_46.png'},{rect:new IWRect(-7,375,11,7),url:'Garfoose_files/stroke_47.png'}],new IWSize(283,378)),stroke_6:new IWStrokeParts([{rect:new IWRect(-3,2,5,367),url:'Garfoose_files/stroke_48.png'},{rect:new IWRect(-3,-4,5,6),url:'Garfoose_files/stroke_49.png'},{rect:new IWRect(2,-3,275,5),url:'Garfoose_files/stroke_50.png'},{rect:new IWRect(277,-2,6,4),url:'Garfoose_files/stroke_51.png'},{rect:new IWRect(277,2,6,367),url:'Garfoose_files/stroke_52.png'},{rect:new IWRect(277,369,6,6),url:'Garfoose_files/stroke_53.png'},{rect:new IWRect(2,369,275,6),url:'Garfoose_files/stroke_54.png'},{rect:new IWRect(-3,369,5,6),url:'Garfoose_files/stroke_55.png'}],new IWSize(280,373)),stroke_8:new IWStrokeParts([{rect:new IWRect(-3,4,8,370),url:'Garfoose_files/stroke_64.png'},{rect:new IWRect(-3,-4,8,8),url:'Garfoose_files/stroke_65.png'},{rect:new IWRect(5,-5,274,9),url:'Garfoose_files/stroke_66.png'},{rect:new IWRect(279,-6,8,10),url:'Garfoose_files/stroke_67.png'},{rect:new IWRect(279,4,6,370),url:'Garfoose_files/stroke_68.png'},{rect:new IWRect(279,374,8,7),url:'Garfoose_files/stroke_69.png'},{rect:new IWRect(5,374,274,6),url:'Garfoose_files/stroke_70.png'},{rect:new IWRect(-3,374,8,5),url:'Garfoose_files/stroke_71.png'}],new IWSize(282,376)),stroke_0:new IWStrokeParts([{rect:new IWRect(-3,2,5,435),url:'Garfoose_files/stroke.png'},{rect:new IWRect(-3,-4,5,6),url:'Garfoose_files/stroke_1.png'},{rect:new IWRect(2,-3,681,5),url:'Garfoose_files/stroke_2.png'},{rect:new IWRect(683,-2,5,4),url:'Garfoose_files/stroke_3.png'},{rect:new IWRect(683,2,5,435),url:'Garfoose_files/stroke_4.png'},{rect:new IWRect(683,437,5,5),url:'Garfoose_files/stroke_5.png'},{rect:new IWRect(2,437,681,5),url:'Garfoose_files/stroke_6.png'},{rect:new IWRect(-3,437,5,6),url:'Garfoose_files/stroke_7.png'}],new IWSize(685,441)),stroke_2:new IWStrokeParts([{rect:new IWRect(-3,2,5,241),url:'Garfoose_files/stroke_16.png'},{rect:new IWRect(-3,-4,5,6),url:'Garfoose_files/stroke_17.png'},{rect:new IWRect(2,-3,325,5),url:'Garfoose_files/stroke_18.png'},{rect:new IWRect(327,-2,6,4),url:'Garfoose_files/stroke_19.png'},{rect:new IWRect(327,2,5,241),url:'Garfoose_files/stroke_20.png'},{rect:new IWRect(327,243,5,6),url:'Garfoose_files/stroke_21.png'},{rect:new IWRect(2,243,325,5),url:'Garfoose_files/stroke_22.png'},{rect:new IWRect(-3,243,5,6),url:'Garfoose_files/stroke_23.png'}],new IWSize(329,247)),stroke_9:new IWStrokeParts([{rect:new IWRect(-2,3,8,205),url:'Garfoose_files/stroke_72.png'},{rect:new IWRect(-4,-5,10,8),url:'Garfoose_files/stroke_73.png'},{rect:new IWRect(6,-5,269,8),url:'Garfoose_files/stroke_74.png'},{rect:new IWRect(275,-3,10,6),url:'Garfoose_files/stroke_75.png'},{rect:new IWRect(275,3,6,205),url:'Garfoose_files/stroke_76.png'},{rect:new IWRect(275,208,8,5),url:'Garfoose_files/stroke_77.png'},{rect:new IWRect(6,208,269,4),url:'Garfoose_files/stroke_78.png'},{rect:new IWRect(-3,208,9,7),url:'Garfoose_files/stroke_79.png'}],new IWSize(279,209)),stroke_7:new IWStrokeParts([{rect:new IWRect(-2,1,7,209),url:'Garfoose_files/stroke_56.png'},{rect:new IWRect(-5,-5,10,6),url:'Garfoose_files/stroke_57.png'},{rect:new IWRect(5,-5,278,6),url:'Garfoose_files/stroke_58.png'},{rect:new IWRect(283,-5,11,6),url:'Garfoose_files/stroke_59.png'},{rect:new IWRect(283,1,8,209),url:'Garfoose_files/stroke_60.png'},{rect:new IWRect(283,210,9,13),url:'Garfoose_files/stroke_61.png'},{rect:new IWRect(5,210,278,9),url:'Garfoose_files/stroke_62.png'},{rect:new IWRect(-7,210,12,10),url:'Garfoose_files/stroke_63.png'}],new IWSize(288,216))});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('Garfoose_files/GarfooseMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');detectBrowser();adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id6');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}
