// Created by iWeb 3.0.4 local-build-20120113

function createMediaStream_id2()
{return IWCreatePhotocast("http://jeromeducharme.ca/Site_Jerome/CD_files/rss.xml",false);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://jeromeducharme.ca/Site_Jerome',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://jeromeducharme.ca/Site_Jerome',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(186,186),new IWSize(186,16),new IWSize(213,217),27,27,0,new IWSize(6,6)),new IWPhotoFrame([IWCreateImage('CD_files/PrintedPaper_frame_01.png'),IWCreateImage('CD_files/PrintedPaper_frame_02.png'),IWCreateImage('CD_files/PrintedPaper_frame_03.png'),IWCreateImage('CD_files/PrintedPaper_frame_06.png'),IWCreateImage('CD_files/PrintedPaper_frame_09.png'),IWCreateImage('CD_files/PrintedPaper_frame_08.png'),IWCreateImage('CD_files/PrintedPaper_frame_07.png'),IWCreateImage('CD_files/PrintedPaper_frame_04.png')],null,0,0.500000,0.000000,0.000000,0.000000,0.000000,6.000000,6.000000,6.000000,6.000000,9.000000,9.000000,9.000000,9.000000,null,null,null,0.500000),imageStream,range,new IWShadow({blurRadius:5,offset:new IWPoint(0.7071,0.7071),color:'#000000',opacity:0.500000}),null,1.000000,null,'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id3" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="181" height="16"><param name="src" value="Media/Sonate,Op.47,Scherzo-5.mp3" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id3" type="video/quicktime" width="181" height="16"><param name="src" value="Media/Sonate,Op.47,Scherzo-5.mp3"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id3" type="video/quicktime" width="181" height="16" data="Media/Sonate,Op.47,Scherzo-5.mp3"><param name="src" value="Media/Sonate,Op.47,Scherzo-5.mp3"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
function writeMovie2()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id5" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="252" height="16"><param name="src" value="Media/08%20Encore%20%28Brouwer%29-2.aif" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id5" type="video/quicktime" width="252" height="16"><param name="src" value="Media/08%20Encore%20%28Brouwer%29-2.aif"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id5" type="video/quicktime" width="252" height="16" data="Media/08%20Encore%20%28Brouwer%29-2.aif"><param name="src" value="Media/08%20Encore%20%28Brouwer%29-2.aif"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:24,offset:new IWPoint(9.1924,9.1924),color:'#000000',opacity:0.750000})});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('CD_files/CDMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
detectBrowser();adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');Widget.onload();IMpreload('CD_files','shapeimage_1','0');IMpreload('CD_files','shapeimage_1','1');IMpreload('CD_files','shapeimage_1','2');IMpreload('CD_files','shapeimage_1','3');IMpreload('CD_files','shapeimage_1','4');IMpreload('CD_files','shapeimage_1','5');IMpreload('CD_files','shapeimage_1','6');IMpreload('CD_files','shapeimage_1','7');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

