// Created by iWeb 2.0.4 local-build-20100510

function createMediaStream_id3()
{return IWCreateMediaCollection("http://www.tourderedcell.com/le_Tour_de_Red_Cell/Photos_/Photos__files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.tourderedcell.com/le_Tour_de_Red_Cell/Photos_',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget7'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.tourderedcell.com/le_Tour_de_Red_Cell/Photos_',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(2,new IWSize(287,215),new IWSize(287,40),new IWSize(344,270),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-1,1,2,212),url:'Photos__files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Photos__files/stroke_1.png'},{rect:new IWRect(1,-1,284,2),url:'Photos__files/stroke_2.png'},{rect:new IWRect(285,-1,2,2),url:'Photos__files/stroke_3.png'},{rect:new IWRect(285,1,2,212),url:'Photos__files/stroke_4.png'},{rect:new IWRect(285,213,2,2),url:'Photos__files/stroke_5.png'},{rect:new IWRect(1,213,284,2),url:'Photos__files/stroke_6.png'},{rect:new IWRect(-1,213,2,2),url:'Photos__files/stroke_7.png'}],new IWSize(286,214)),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget7',null,'widget8',{showTitle:true,showMetric:true})});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000})});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('Photos__files/Photos_Moz.css')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');fixAllIEPNGs('../Media/transparent.gif');fixupIECSS3Opacity('id1');Widget.onload();fixupAllIEPNGBGs();IMpreload('Photos__files','shapeimage_3','0');IMpreload('Photos__files','shapeimage_4','0');IMpreload('Photos__files','shapeimage_5','0');IMpreload('Photos__files','shapeimage_6','0');IMpreload('Photos__files','shapeimage_7','0');IMpreload('Photos__files','shapeimage_8','0');IMpreload('Photos__files','shapeimage_9','0');IMpreload('Photos__files','shapeimage_10','0');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
