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

function iWebWriteCounter()
{try
{writeCounter();}
catch(e)
{}}
function createMediaStream_id1()
{return IWCreatePhotocast("http://web.me.com/akiem1/Scooby-Kochmesser-Damast/MESSER_files/rss.xml",false);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://web.me.com/akiem1/Scooby-Kochmesser-Damast',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget2'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://web.me.com/akiem1/Scooby-Kochmesser-Damast',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(4,new IWSize(161,161),new IWSize(161,112),new IWSize(184,288),27,27,0,new IWSize(4,5)),new IWPhotoFrame([IWCreateImage('MESSER_files/green_linen_ul.png'),IWCreateImage('MESSER_files/green_linen_top.png'),IWCreateImage('MESSER_files/green_linen_ur.png'),IWCreateImage('MESSER_files/green_linen_right.png'),IWCreateImage('MESSER_files/green_linen_lr.png'),IWCreateImage('MESSER_files/green_linen_bottom.png'),IWCreateImage('MESSER_files/green_linen_ll.png'),IWCreateImage('MESSER_files/green_linen_left.png')],null,0,1.000000,13.000000,12.000000,13.000000,13.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,null,null,null,0.400000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:0,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget2','widget3','widget4')});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(3.5355,3.5355),color:'#ffff00',opacity:0.700000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(0.8682,4.9240),color:'#ffff00',opacity:0.500000}),stroke_0:new IWEmptyStroke()});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('MESSER_files/MESSERMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');detectBrowser();adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();iWebWriteCounter();applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}
