// Created by iWeb 3.0.1 local-build-20100130

function createMediaStream_id10()
{return IWCreatePhotocast("http://www.kuksoolwonglasgow.com/html/Gallery_Four_files/rss.xml",true);}
function initializeMediaStream_id10()
{createMediaStream_id10().load('http://www.kuksoolwonglasgow.com/html',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id10',{pageIndex:0}));});}
function layoutMediaGrid_id10(range)
{createMediaStream_id10().load('http://www.kuksoolwonglasgow.com/html',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id10',new IWPhotoGridLayout(4,new IWSize(129,129),new IWSize(129,24),new IWSize(154,168),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-2,-1,1,130),url:'Gallery_Four_files/stroke.png'},{rect:new IWRect(-2,-2,1,1),url:'Gallery_Four_files/stroke_1.png'},{rect:new IWRect(-1,-2,130,1),url:'Gallery_Four_files/stroke_2.png'},{rect:new IWRect(129,-2,1,1),url:'Gallery_Four_files/stroke_3.png'},{rect:new IWRect(129,-1,1,130),url:'Gallery_Four_files/stroke_4.png'},{rect:new IWRect(129,129,1,1),url:'Gallery_Four_files/stroke_5.png'},{rect:new IWRect(-1,129,130,1),url:'Gallery_Four_files/stroke_6.png'},{rect:new IWRect(-2,129,1,1),url:'Gallery_Four_files/stroke_7.png'}],new IWSize(128,128)),imageStream,range,new IWShadow({blurRadius:6,offset:new IWPoint(-2.1213,-2.1213),color:'#000000',opacity:0.750000}),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_id10(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id10(range);}
setTransparentGifURL('Media/transparent.gif');function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Gallery_Four_files/Gallery_FourMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');NotificationCenter.addObserver(null,relayoutMediaGrid_id10,'RangeChanged','id10')
adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');Widget.onload();fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id14');initializeMediaStream_id10()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}

