// Created by iWeb 2.0.3 local-build-20090903

function createMediaStream_id3()
{return IWCreatePhotocast("http://www.gardenmason.com/Gardenmason/Stonemasonry_files/rss.xml",false,true);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.gardenmason.com/Gardenmason',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.gardenmason.com/Gardenmason',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(2,new IWSize(270,270),new IWSize(270,28),new IWSize(324,313),27,27,0,new IWSize(6,6)),new IWPhotoFrame([IWCreateImage('Stonemasonry_files/comic-1_01.png'),IWCreateImage('Stonemasonry_files/comic-1_02.png'),IWCreateImage('Stonemasonry_files/comic-1_03.png'),IWCreateImage('Stonemasonry_files/comic-1_06.png'),IWCreateImage('Stonemasonry_files/comic-1_09.png'),IWCreateImage('Stonemasonry_files/comic-1_08.png'),IWCreateImage('Stonemasonry_files/comic-1_07.png'),IWCreateImage('Stonemasonry_files/comic-1_04.png')],null,0,1.000000,4.000000,4.000000,1.000000,1.000000,5.000000,5.000000,6.000000,6.000000,71.000000,115.000000,71.000000,115.000000,null,null,null,0.500000),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(2.4721,-7.6085),color:'#000000',opacity:0.770000}),null,1.000000,null,'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-5,5,10,118),url:'Stonemasonry_files/stroke.png'},{rect:new IWRect(-5,-5,10,10),url:'Stonemasonry_files/stroke_1.png'},{rect:new IWRect(5,-5,550,10),url:'Stonemasonry_files/stroke_2.png'},{rect:new IWRect(555,-5,10,10),url:'Stonemasonry_files/stroke_3.png'},{rect:new IWRect(555,5,10,118),url:'Stonemasonry_files/stroke_4.png'},{rect:new IWRect(555,123,10,11),url:'Stonemasonry_files/stroke_5.png'},{rect:new IWRect(5,123,550,11),url:'Stonemasonry_files/stroke_6.png'},{rect:new IWRect(-5,123,10,11),url:'Stonemasonry_files/stroke_7.png'}],new IWSize(560,128))});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('Stonemasonry_files/StonemasonryMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');Widget.onload();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

