// 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/Couleurs_du_Yemen_1_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['widget1'];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(167,167),new IWSize(167,0),new IWSize(191,182),27,27,0,new IWSize(0,0)),new IWEmptyStroke(),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(4.4589,4.0148),color:'#000000',opacity:0.750000}),null,1.000000,{backgroundColor:'rgb(94, 94, 94)',reflectionHeight:0,reflectionOffset:2,captionHeight:0,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
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();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:0,offset:new IWPoint(9.6593,2.5882),color:'#000000',opacity:0.700000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-5,5,10,726),url:'Couleurs_du_Yemen_1_files/stroke.png'},{rect:new IWRect(-5,-5,10,10),url:'Couleurs_du_Yemen_1_files/stroke_1.png'},{rect:new IWRect(5,-5,811,10),url:'Couleurs_du_Yemen_1_files/stroke_2.png'},{rect:new IWRect(816,-5,10,10),url:'Couleurs_du_Yemen_1_files/stroke_3.png'},{rect:new IWRect(816,5,10,726),url:'Couleurs_du_Yemen_1_files/stroke_4.png'},{rect:new IWRect(816,731,10,11),url:'Couleurs_du_Yemen_1_files/stroke_5.png'},{rect:new IWRect(5,731,811,11),url:'Couleurs_du_Yemen_1_files/stroke_6.png'},{rect:new IWRect(-5,731,10,11),url:'Couleurs_du_Yemen_1_files/stroke_7.png'}],new IWSize(821,736))});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('Couleurs_du_Yemen_1_files/Couleurs_du_Yemen_1Moz.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');detectBrowser();NotificationCenter.addObserver(null,relayoutMediaGrid_id31,'RangeChanged','id31')
fixAllIEPNGs('Media/transparent.gif');IMpreload('Couleurs_du_Yemen_1_files','shapeimage_2','0');IMpreload('Couleurs_du_Yemen_1_files','shapeimage_2','1');IMpreload('Couleurs_du_Yemen_1_files','shapeimage_2','2');IMpreload('Couleurs_du_Yemen_1_files','shapeimage_2','3');Widget.onload();iWebWriteCounter();applyEffects()
initializeMediaStream_id31()}
function onPageUnload()
{Widget.onunload();}
