// Created by iWeb 2.0.4 local-build-20100611

function createMediaStream_id2()
{return IWCreateMediaCollection("http://restomotelbonvoyage.com/restomotelbonvoyage/restomotelbonvoyage/restomotelbonvoyage_files/rss.xml",true,2,["Pas encore de photos","%d photo","%d photos"],["","%d plan","%d plans"]);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://restomotelbonvoyage.com/restomotelbonvoyage/restomotelbonvoyage',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget3'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://restomotelbonvoyage.com/restomotelbonvoyage/restomotelbonvoyage',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(1,new IWSize(346,259),new IWSize(346,32),new IWSize(488,306),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-4,3,7,252),url:'restomotelbonvoyage_files/stroke_8.png'},{rect:new IWRect(-5,-3,8,6),url:'restomotelbonvoyage_files/stroke_9.png'},{rect:new IWRect(3,-4,338,7),url:'restomotelbonvoyage_files/stroke_10.png'},{rect:new IWRect(341,-5,8,8),url:'restomotelbonvoyage_files/stroke_11.png'},{rect:new IWRect(341,3,8,252),url:'restomotelbonvoyage_files/stroke_12.png'},{rect:new IWRect(341,255,12,8),url:'restomotelbonvoyage_files/stroke_13.png'},{rect:new IWRect(3,255,338,6),url:'restomotelbonvoyage_files/stroke_14.png'},{rect:new IWRect(-4,255,7,8),url:'restomotelbonvoyage_files/stroke_15.png'}],new IWSize(345,259)),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget3',null,'widget4',{showTitle:false,showMetric:false})});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWEmptyStroke(),stroke_1:new IWEmptyStroke(),stroke_2:new IWStrokeParts([{rect:new IWRect(-2,3,6,573),url:'restomotelbonvoyage_files/stroke.png'},{rect:new IWRect(-4,-3,8,6),url:'restomotelbonvoyage_files/stroke_1.png'},{rect:new IWRect(4,-3,662,6),url:'restomotelbonvoyage_files/stroke_2.png'},{rect:new IWRect(666,-3,8,6),url:'restomotelbonvoyage_files/stroke_3.png'},{rect:new IWRect(666,3,10,573),url:'restomotelbonvoyage_files/stroke_4.png'},{rect:new IWRect(666,576,6,11),url:'restomotelbonvoyage_files/stroke_5.png'},{rect:new IWRect(4,576,662,7),url:'restomotelbonvoyage_files/stroke_6.png'},{rect:new IWRect(-5,576,9,6),url:'restomotelbonvoyage_files/stroke_7.png'}],new IWSize(670,580))});registry.applyEffects();}
function hostedOnDM()
{return false;}
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('restomotelbonvoyage_files/restomotelbonvoyageMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','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');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');fixupIECSS3Opacity('id12');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

