// Created by iWeb 3.0.1 local-build-20110618

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id4" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="536" height="418" style="height: 418px; left: 166px; position: absolute; top: 1075px; width: 536px; z-index: 1; "><param name="src" value="../Media/Rose%20Hill%20Wedding%20Scrapbook%20-%20Large.m4v" /><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="id4" type="video/quicktime" width="536" height="418" style="height: 418px; left: 166px; position: absolute; top: 1075px; width: 536px; z-index: 1; "><param name="src" value="home_files/Rose%20Hill%20Wedding%20Scrapbook%20-%20Large.jpg"/><param name="target" value="myself"/><param name="href" value="../../Media/Rose%20Hill%20Wedding%20Scrapbook%20-%20Large.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id4" type="video/quicktime" width="536" height="418" data="../Media/Rose%20Hill%20Wedding%20Scrapbook%20-%20Large.m4v" style="height: 418px; left: 166px; position: absolute; top: 1075px; width: 536px; z-index: 1; "><param name="src" value="../Media/Rose%20Hill%20Wedding%20Scrapbook%20-%20Large.m4v"/><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 createMediaStream_id7()
{return IWCreateMediaCollection("http://www.marshallweddings.com/marshallweddings.com/home/home_files/rss.xml",true,2,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id7()
{createMediaStream_id7().load('http://www.marshallweddings.com/marshallweddings.com/home',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget4'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id7',{pageIndex:0}));});}
function layoutMediaGrid_id7(range)
{createMediaStream_id7().load('http://www.marshallweddings.com/marshallweddings.com/home',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id7',new IWPhotoGridLayout(1,new IWSize(552,414),new IWSize(552,32),new IWSize(690,461),27,27,0,new IWSize(22,31)),new IWPhotoFrame([IWCreateImage('home_files/FormalShadow_01.png'),IWCreateImage('home_files/FormalShadow_02.png'),IWCreateImage('home_files/FormalShadow_03.png'),IWCreateImage('home_files/FormalShadow_06.png'),IWCreateImage('home_files/FormalShadow_12.png'),IWCreateImage('home_files/FormalShadow_11.png'),IWCreateImage('home_files/FormalShadow_10.png'),IWCreateImage('home_files/FormalShadow_04.png')],null,2,0.700000,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,null,'../Media/slideshow.html','widget4',null,'widget5',{showTitle:false,showMetric:false})});}
function relayoutMediaGrid_id7(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id7(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id7(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','../Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','../Media/Photo-Overlay-Movie.png')
loadMozillaCSS('home_files/homeMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');detectBrowser();adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');NotificationCenter.addObserver(null,relayoutMediaGrid_id7,'RangeChanged','id7')
fixAllIEPNGs('../Media/transparent.gif');IMpreload('home_files','shapeimage_1','0');IMpreload('home_files','shapeimage_1','1');IMpreload('home_files','shapeimage_1','2');Widget.onload();fixupAllIEPNGBGs();initializeMediaStream_id7()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}

