// Created by iWeb 3.0.4 local-build-20120124

function createMediaStream_id3()
{return IWCreatePhotocast("http://www.lalunelake.co.uk/LaLuneLake/Gallery_files/rss.xml",true);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.lalunelake.co.uk/LaLuneLake',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.lalunelake.co.uk/LaLuneLake',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(4,new IWSize(129,129),new IWSize(129,51),new IWSize(155,195),27,27,0,new IWSize(12,13)),new IWPhotoFrame([IWCreateImage('Gallery_files/Modern_C_TL.png'),IWCreateImage('Gallery_files/Modern_S_T.png'),IWCreateImage('Gallery_files/Modern_C_TR.png'),IWCreateImage('Gallery_files/Modern_S_R.png'),IWCreateImage('Gallery_files/Modern_C_BR.png'),IWCreateImage('Gallery_files/Modern_S_B.png'),IWCreateImage('Gallery_files/Modern_C_BL.png'),IWCreateImage('Gallery_files/Modern_S_L.png')],null,2,0.350000,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,20.000000,40.000000,40.000000,40.000000,240.000000,null,null,null,0.100000),imageStream,range,null,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=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_0:new IWStrokeParts([{rect:new IWRect(-2,-1,1,81),url:'Gallery_files/stroke.png'},{rect:new IWRect(-2,-2,1,1),url:'Gallery_files/stroke_1.png'},{rect:new IWRect(-1,-2,653,1),url:'Gallery_files/stroke_2.png'},{rect:new IWRect(652,-2,1,1),url:'Gallery_files/stroke_3.png'},{rect:new IWRect(652,-1,1,81),url:'Gallery_files/stroke_4.png'},{rect:new IWRect(652,80,1,1),url:'Gallery_files/stroke_5.png'},{rect:new IWRect(-1,80,653,1),url:'Gallery_files/stroke_6.png'},{rect:new IWRect(-2,80,1,1),url:'Gallery_files/stroke_7.png'}],new IWSize(651,78))});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('Gallery_files/GalleryMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
fixAllIEPNGs('Media/transparent.gif');Widget.onload();IMpreload('Gallery_files','shapeimage_1','0');IMpreload('Gallery_files','shapeimage_1','1');IMpreload('Gallery_files','shapeimage_1','2');IMpreload('Gallery_files','shapeimage_1','3');IMpreload('Gallery_files','shapeimage_1','4');IMpreload('Gallery_files','shapeimage_1','5');IMpreload('Gallery_files','shapeimage_1','6');IMpreload('Gallery_files','shapeimage_1','7');IMpreload('Gallery_files','shapeimage_1','8');IMpreload('Gallery_files','shapeimage_1','9');fixupIECSS3Opacity('id4');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

