// Created by iWeb 2.0.4 local-build-20100210
//
//  iWeb - iWebHitCounter.js
//  Copyright (c) 2007 Apple Inc. All rights reserved.
//

function iWebWriteCounter()
{try
{writeCounter();}
catch(e)
{}}
function createMediaStream_id3()
{return IWCreateMediaCollection("http://www.katarinakulgeyko.com/Katyask8/My_Albums_3/My_Albums_3_files/rss.xml",true,9,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.katarinakulgeyko.com/Katyask8/My_Albums_3',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget3'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.katarinakulgeyko.com/Katyask8/My_Albums_3',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(1,new IWSize(355,266),new IWSize(355,32),new IWSize(532,313),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget3',null,'widget4',{showTitle:false,showMetric:true})});}
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_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,19),url:'My_Albums_3_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'My_Albums_3_files/stroke_17.png'},{rect:new IWRect(1,-1,98,2),url:'My_Albums_3_files/stroke_18.png'},{rect:new IWRect(99,-1,2,2),url:'My_Albums_3_files/stroke_19.png'},{rect:new IWRect(99,1,2,19),url:'My_Albums_3_files/stroke_20.png'},{rect:new IWRect(99,20,2,2),url:'My_Albums_3_files/stroke_21.png'},{rect:new IWRect(1,20,98,2),url:'My_Albums_3_files/stroke_22.png'},{rect:new IWRect(-1,20,2,2),url:'My_Albums_3_files/stroke_23.png'}],new IWSize(100,21)),stroke_3:new IWStrokeParts([{rect:new IWRect(-1,1,2,19),url:'My_Albums_3_files/stroke_24.png'},{rect:new IWRect(-1,-1,2,2),url:'My_Albums_3_files/stroke_25.png'},{rect:new IWRect(1,-1,98,2),url:'My_Albums_3_files/stroke_26.png'},{rect:new IWRect(99,-1,2,2),url:'My_Albums_3_files/stroke_27.png'},{rect:new IWRect(99,1,2,19),url:'My_Albums_3_files/stroke_28.png'},{rect:new IWRect(99,20,2,2),url:'My_Albums_3_files/stroke_29.png'},{rect:new IWRect(1,20,98,2),url:'My_Albums_3_files/stroke_30.png'},{rect:new IWRect(-1,20,2,2),url:'My_Albums_3_files/stroke_31.png'}],new IWSize(100,21)),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,19),url:'My_Albums_3_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'My_Albums_3_files/stroke_1.png'},{rect:new IWRect(1,-1,98,2),url:'My_Albums_3_files/stroke_2.png'},{rect:new IWRect(99,-1,2,2),url:'My_Albums_3_files/stroke_3.png'},{rect:new IWRect(99,1,2,19),url:'My_Albums_3_files/stroke_4.png'},{rect:new IWRect(99,20,2,2),url:'My_Albums_3_files/stroke_5.png'},{rect:new IWRect(1,20,98,2),url:'My_Albums_3_files/stroke_6.png'},{rect:new IWRect(-1,20,2,2),url:'My_Albums_3_files/stroke_7.png'}],new IWSize(100,21)),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,19),url:'My_Albums_3_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'My_Albums_3_files/stroke_9.png'},{rect:new IWRect(1,-1,98,2),url:'My_Albums_3_files/stroke_10.png'},{rect:new IWRect(99,-1,2,2),url:'My_Albums_3_files/stroke_11.png'},{rect:new IWRect(99,1,2,19),url:'My_Albums_3_files/stroke_12.png'},{rect:new IWRect(99,20,2,2),url:'My_Albums_3_files/stroke_13.png'},{rect:new IWRect(1,20,98,2),url:'My_Albums_3_files/stroke_14.png'},{rect:new IWRect(-1,20,2,2),url:'My_Albums_3_files/stroke_15.png'}],new IWSize(100,21))});registry.applyEffects();}
function hostedOnDM()
{return true;}
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('My_Albums_3_files/My_Albums_3Moz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');Widget.onload();fixAllIEPNGs('../Media/transparent.gif');IMpreload('My_Albums_3_files','shapeimage_1','0');IMpreload('My_Albums_3_files','shapeimage_2','0');IMpreload('My_Albums_3_files','shapeimage_3','0');IMpreload('My_Albums_3_files','shapeimage_4','0');iWebWriteCounter();applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
