// Created by iWeb 3.0.4 local-build-20120212

function createMediaStream_id4()
{return IWCreateMediaCollection("http://vovietnam-bern.ch/Vo_Vietnam_-_Son_Long_Quyen_That/Galerie/Galerie_files/rss.xml",true,255,["Pas encore de photos","%d photo","%d photos"],["","%d plan","%d plans"]);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://vovietnam-bern.ch/Vo_Vietnam_-_Son_Long_Quyen_That/Galerie',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget17'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://vovietnam-bern.ch/Vo_Vietnam_-_Son_Long_Quyen_That/Galerie',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(3,new IWSize(215,161),new IWSize(215,34),new IWSize(256,210),27,27,0,new IWSize(18,17)),new IWPhotoFrame([IWCreateImage('Galerie_files/ul.png'),IWCreateImage('Galerie_files/top.png'),IWCreateImage('Galerie_files/ur.png'),IWCreateImage('Galerie_files/right.png'),IWCreateImage('Galerie_files/lr.png'),IWCreateImage('Galerie_files/bottom.png'),IWCreateImage('Galerie_files/ll.png'),IWCreateImage('Galerie_files/left.png')],null,0,0.300000,130.000000,10.000000,118.000000,45.000000,147.000000,30.000000,157.000000,83.000000,251.000000,120.000000,260.000000,120.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget17',null,'widget18',{showTitle:true,showMetric:false})});}
function relayoutMediaGrid_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({reflection_1:new IWReflection({opacity:0.50,offset:1.00}),stroke_0:new IWStrokeParts([{rect:new IWRect(-4,3,6,1288),url:'Galerie_files/stroke.png'},{rect:new IWRect(-6,-6,0,0),url:null},{rect:new IWRect(2,-4,817,7),url:'Galerie_files/stroke_1.png'},{rect:new IWRect(819,-3,6,6),url:'Galerie_files/stroke_2.png'},{rect:new IWRect(819,3,7,1288),url:'Galerie_files/stroke_3.png'},{rect:new IWRect(819,1291,7,6),url:'Galerie_files/stroke_4.png'},{rect:new IWRect(2,1291,817,6),url:'Galerie_files/stroke_5.png'},{rect:new IWRect(-4,1291,6,6),url:'Galerie_files/stroke_6.png'}],new IWSize(823,1294)),reflection_0:new IWReflection({opacity:0.50,offset:1.00})});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','../Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','../Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Galerie_files/GalerieMoz.css')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
fixAllIEPNGs('../Media/transparent.gif');fixupIECSS3Opacity('id1');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}

