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

function iWebWriteCounter()
{try
{writeCounter();}
catch(e)
{}}
function createMediaStream_id31()
{return IWCreatePhotocast("http://web.me.com/g.lunven/Between_Nowhere_and_Goodbye/Venise_2008_files/rss.xml",true);}
function initializeMediaStream_id31()
{createMediaStream_id31().load('http://web.me.com/g.lunven/Between_Nowhere_and_Goodbye',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id31',{pageIndex:0}));});}
function layoutMediaGrid_id31(range)
{createMediaStream_id31().load('http://web.me.com/g.lunven/Between_Nowhere_and_Goodbye',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id31',new IWPhotoGridLayout(4,new IWSize(174,174),new IWSize(174,0),new IWSize(214,189),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:0,reflectionOffset:2,captionHeight:0,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id31(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id31(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id31(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id32" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="75" height="16" style="height: 16px; left: 907px; position: absolute; top: 85px; width: 75px; z-index: 1; "><param name="src" value="Media/05%20Rise%20Above%20The%20Towers-2.mp3" /><param name="controller" value="true" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="true" /></object>');}
else if(isiPhone)
{document.write('<object id="id32" type="video/quicktime" width="75" height="16" style="height: 16px; left: 907px; position: absolute; top: 85px; width: 75px; z-index: 1; "><param name="src" value="Media/05%20Rise%20Above%20The%20Towers-2.mp3"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id32" type="video/quicktime" width="75" height="16" data="Media/05%20Rise%20Above%20The%20Towers-2.mp3" style="height: 16px; left: 907px; position: absolute; top: 85px; width: 75px; z-index: 1; "><param name="src" value="Media/05%20Rise%20Above%20The%20Towers-2.mp3"/><param name="controller" value="true"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="true"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,74),url:'Venise_2008_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Venise_2008_files/stroke_1.png'},{rect:new IWRect(1,-1,94,2),url:'Venise_2008_files/stroke_2.png'},{rect:new IWRect(95,-1,2,2),url:'Venise_2008_files/stroke_3.png'},{rect:new IWRect(95,1,2,74),url:'Venise_2008_files/stroke_4.png'},{rect:new IWRect(95,75,2,2),url:'Venise_2008_files/stroke_5.png'},{rect:new IWRect(1,75,94,2),url:'Venise_2008_files/stroke_6.png'},{rect:new IWRect(-1,75,2,2),url:'Venise_2008_files/stroke_7.png'}],new IWSize(96,76)),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('Venise_2008_files/Venise_2008Moz.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('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('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');adjustLineHeightIfTooBig('id22');adjustFontSizeIfTooBig('id22');adjustLineHeightIfTooBig('id23');adjustFontSizeIfTooBig('id23');adjustLineHeightIfTooBig('id24');adjustFontSizeIfTooBig('id24');adjustLineHeightIfTooBig('id25');adjustFontSizeIfTooBig('id25');adjustLineHeightIfTooBig('id26');adjustFontSizeIfTooBig('id26');adjustLineHeightIfTooBig('id27');adjustFontSizeIfTooBig('id27');adjustLineHeightIfTooBig('id28');adjustFontSizeIfTooBig('id28');adjustLineHeightIfTooBig('id29');adjustFontSizeIfTooBig('id29');adjustLineHeightIfTooBig('id30');adjustFontSizeIfTooBig('id30');NotificationCenter.addObserver(null,relayoutMediaGrid_id31,'RangeChanged','id31')
detectBrowser();adjustLineHeightIfTooBig('id33');adjustFontSizeIfTooBig('id33');adjustLineHeightIfTooBig('id34');adjustFontSizeIfTooBig('id34');adjustLineHeightIfTooBig('id35');adjustFontSizeIfTooBig('id35');adjustLineHeightIfTooBig('id36');adjustFontSizeIfTooBig('id36');fixAllIEPNGs('Media/transparent.gif');Widget.onload();iWebWriteCounter();applyEffects()
initializeMediaStream_id31()}
function onPageUnload()
{Widget.onunload();}
