// Created by iWeb 3.0.4 local-build-20120114

function createMediaStream_id4()
{return IWCreatePhotocast("http://www.casadeclaire.com/CasadeClaire/CasadeClaire_files/rss.xml",false);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.casadeclaire.com/CasadeClaire',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://www.casadeclaire.com/CasadeClaire',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(5,new IWSize(131,131),new IWSize(131,32),new IWSize(131,178),27,27,0,new IWSize(14,19)),new IWPhotoFrame([IWCreateImage('CasadeClaire_files/FormalShadow_01.png'),IWCreateImage('CasadeClaire_files/FormalShadow_02.png'),IWCreateImage('CasadeClaire_files/FormalShadow_03.png'),IWCreateImage('CasadeClaire_files/FormalShadow_06.png'),IWCreateImage('CasadeClaire_files/FormalShadow_12.png'),IWCreateImage('CasadeClaire_files/FormalShadow_11.png'),IWCreateImage('CasadeClaire_files/FormalShadow_10.png'),IWCreateImage('CasadeClaire_files/FormalShadow_04.png')],null,2,0.420000,1.000000,5.000000,1.000000,4.000000,17.000000,17.000000,17.000000,36.000000,4.000000,837.000000,4.000000,837.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:0,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
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();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id7" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="364" height="221" style="height: 221px; left: 183px; position: absolute; top: 102px; width: 364px; z-index: 1; "><param name="src" value="Media/CourageCampaignDon%27tDivorce.mov" /><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="id7" type="video/quicktime" width="364" height="221" style="height: 221px; left: 183px; position: absolute; top: 102px; width: 364px; z-index: 1; "><param name="src" value="CasadeClaire_files/CourageCampaignDon%27tDivorce.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/CourageCampaignDon%27tDivorce.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id7" type="video/quicktime" width="364" height="221" data="Media/CourageCampaignDon%27tDivorce.mov" style="height: 221px; left: 183px; position: absolute; top: 102px; width: 364px; z-index: 1; "><param name="src" value="Media/CourageCampaignDon%27tDivorce.mov"/><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="id8" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="275" height="222" style="height: 222px; left: 572px; position: absolute; top: 102px; width: 275px; z-index: 1; "><param name="src" value="Media/Permission.MP4" /><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="id8" type="video/quicktime" width="275" height="222" style="height: 222px; left: 572px; position: absolute; top: 102px; width: 275px; z-index: 1; "><param name="src" value="CasadeClaire_files/Permission.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Permission.MP4"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id8" type="video/quicktime" width="275" height="222" data="Media/Permission.MP4" style="height: 222px; left: 572px; position: absolute; top: 102px; width: 275px; z-index: 1; "><param name="src" value="Media/Permission.MP4"/><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({stroke_0:new IWEmptyStroke(),shadow_0:new IWShadow({blurRadius:1,offset:new IWPoint(-0.0000,1.0000),color:'#000000',opacity:0.700000})});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('CasadeClaire_files/CasadeClaireMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
detectBrowser();adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');fixAllIEPNGs('Media/transparent.gif');IMpreload('CasadeClaire_files','shapeimage_1','0');IMpreload('CasadeClaire_files','shapeimage_2','0');IMpreload('CasadeClaire_files','shapeimage_3','0');IMpreload('CasadeClaire_files','shapeimage_4','0');IMpreload('CasadeClaire_files','shapeimage_5','0');IMpreload('CasadeClaire_files','shapeimage_6','0');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}

