// Created by iWeb 3.0.4 local-build-20110930

function createMediaStream_id15()
{return IWCreatePhotocast("file://localhost/Users/SuZ/Desktop/sekulasJS/sekulas.com/courtergallery_files/rss.xml",false);}
function initializeMediaStream_id15()
{createMediaStream_id15().load('file://localhost/Users/SuZ/Desktop/sekulasJS/sekulas.com',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id15',{pageIndex:0}));});}
function layoutMediaGrid_id15(range)
{createMediaStream_id15().load('file://localhost/Users/SuZ/Desktop/sekulasJS/sekulas.com',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id15',new IWPhotoGridLayout(6,new IWSize(91,91),new IWSize(91,14),new IWSize(109,120),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(42, 38, 31)',reflectionHeight:0,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id15(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id15(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id15(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_6:new IWStrokeParts([{rect:new IWRect(-2,2,4,80),url:'courtergallery_files/stroke_16.png'},{rect:new IWRect(-2,-2,4,4),url:'courtergallery_files/stroke_17.png'},{rect:new IWRect(2,-2,953,4),url:'courtergallery_files/stroke_18.png'},{rect:new IWRect(955,-2,4,4),url:'courtergallery_files/stroke_19.png'},{rect:new IWRect(955,2,4,80),url:'courtergallery_files/stroke_20.png'},{rect:new IWRect(955,82,4,4),url:'courtergallery_files/stroke_21.png'},{rect:new IWRect(2,82,953,4),url:'courtergallery_files/stroke_22.png'},{rect:new IWRect(-2,82,4,4),url:'courtergallery_files/stroke_23.png'}],new IWSize(957,84)),stroke_0:new IWEmptyStroke(),stroke_5:new IWEmptyStroke(),stroke_3:new IWStrokeParts([{rect:new IWRect(-1,1,2,843),url:'courtergallery_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'courtergallery_files/stroke_1.png'},{rect:new IWRect(1,-1,789,2),url:'courtergallery_files/stroke_2.png'},{rect:new IWRect(790,-1,2,2),url:'courtergallery_files/stroke_3.png'},{rect:new IWRect(790,1,2,843),url:'courtergallery_files/stroke_4.png'},{rect:new IWRect(790,844,2,2),url:'courtergallery_files/stroke_5.png'},{rect:new IWRect(1,844,789,2),url:'courtergallery_files/stroke_6.png'},{rect:new IWRect(-1,844,2,2),url:'courtergallery_files/stroke_7.png'}],new IWSize(791,845)),stroke_4:new IWStrokeParts([{rect:new IWRect(-1,1,2,34),url:'courtergallery_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'courtergallery_files/stroke_9.png'},{rect:new IWRect(1,-1,155,2),url:'courtergallery_files/stroke_10.png'},{rect:new IWRect(156,-1,2,2),url:'courtergallery_files/stroke_11.png'},{rect:new IWRect(156,1,2,34),url:'courtergallery_files/stroke_12.png'},{rect:new IWRect(156,35,2,2),url:'courtergallery_files/stroke_13.png'},{rect:new IWRect(1,35,155,2),url:'courtergallery_files/stroke_14.png'},{rect:new IWRect(-1,35,2,2),url:'courtergallery_files/stroke_15.png'}],new IWSize(157,36)),stroke_2:new IWEmptyStroke(),stroke_1:new IWEmptyStroke()});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('courtergallery_files/courtergalleryMoz.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');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');NotificationCenter.addObserver(null,relayoutMediaGrid_id15,'RangeChanged','id15')
adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');adjustLineHeightIfTooBig('id18');adjustFontSizeIfTooBig('id18');adjustLineHeightIfTooBig('id19');adjustFontSizeIfTooBig('id19');adjustLineHeightIfTooBig('id20');adjustFontSizeIfTooBig('id20');adjustLineHeightIfTooBig('id21');adjustFontSizeIfTooBig('id21');fixAllIEPNGs('Media/transparent.gif');IMpreload('courtergallery_files','shapeimage_1','0');IMpreload('courtergallery_files','shapeimage_2','0');IMpreload('courtergallery_files','shapeimage_3','0');IMpreload('courtergallery_files','shapeimage_4','0');IMpreload('courtergallery_files','shapeimage_5','0');fixupIECSS3Opacity('id10');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id15()}
function onPageUnload()
{Widget.onunload();}

