// Created by iWeb 3.0.1 local-build-20091022
//
//  iWeb - iWebHitCounter.js
//  Copyright (c) 2007-2008 Apple Inc. All rights reserved.
//

function iWebWriteCounter()
{try
{writeCounter();}
catch(e)
{}}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id10" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="95" height="16" style="height: 0px; left: 559px; position: absolute; top: 141px; width: 95px; z-index: 1; "><param name="src" value="Media/slideshow%202q_soundtrack-2.mov" /><param name="controller" value="false" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="6" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id10" type="video/quicktime" width="95" height="16" style="height: 0px; left: 559px; position: absolute; top: 141px; width: 95px; z-index: 1; "><param name="src" value="Media/slideshow%202q_soundtrack-2.mov"/><param name="controller" value="false"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id10" type="video/quicktime" width="95" height="16" data="Media/slideshow%202q_soundtrack-2.mov" style="height: 0px; left: 559px; position: absolute; top: 141px; width: 95px; z-index: 1; "><param name="src" value="Media/slideshow%202q_soundtrack-2.mov"/><param name="controller" value="false"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="6"/><param name="loop" value="false"/></object>');}}
function writeMovie2()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id11" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="689" height="285" style="height: 269px; left: -1px; position: absolute; top: 159px; width: 689px; z-index: 1; "><param name="src" value="Media/slideshow%202-2.mov" /><param name="controller" value="false" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="true" /></object>');}
else if(isiPhone)
{document.write('<object id="id11" type="video/quicktime" width="689" height="285" style="height: 269px; left: -1px; position: absolute; top: 159px; width: 689px; z-index: 1; "><param name="src" value="sample_weddings_files/slideshow%202.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/slideshow%202-2.mov"/><param name="controller" value="false"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id11" type="video/quicktime" width="689" height="285" data="Media/slideshow%202-2.mov" style="height: 269px; left: -1px; position: absolute; top: 159px; width: 689px; z-index: 1; "><param name="src" value="Media/slideshow%202-2.mov"/><param name="controller" value="false"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="true"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,48),url:'sample_weddings_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'sample_weddings_files/stroke_9.png'},{rect:new IWRect(1,-1,160,2),url:'sample_weddings_files/stroke_10.png'},{rect:new IWRect(161,-1,2,2),url:'sample_weddings_files/stroke_11.png'},{rect:new IWRect(161,1,2,48),url:'sample_weddings_files/stroke_12.png'},{rect:new IWRect(161,49,2,2),url:'sample_weddings_files/stroke_13.png'},{rect:new IWRect(1,49,160,2),url:'sample_weddings_files/stroke_14.png'},{rect:new IWRect(-1,49,2,2),url:'sample_weddings_files/stroke_15.png'}],new IWSize(162,50)),shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,160),url:'sample_weddings_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'sample_weddings_files/stroke_17.png'},{rect:new IWRect(1,-1,695,2),url:'sample_weddings_files/stroke_18.png'},{rect:new IWRect(696,-1,2,2),url:'sample_weddings_files/stroke_19.png'},{rect:new IWRect(696,1,2,160),url:'sample_weddings_files/stroke_20.png'},{rect:new IWRect(696,161,2,3),url:'sample_weddings_files/stroke_21.png'},{rect:new IWRect(1,161,695,3),url:'sample_weddings_files/stroke_22.png'},{rect:new IWRect(-1,161,2,3),url:'sample_weddings_files/stroke_23.png'}],new IWSize(697,162)),shadow_3:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_5:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_10:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,115),url:'sample_weddings_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'sample_weddings_files/stroke_1.png'},{rect:new IWRect(1,-1,307,2),url:'sample_weddings_files/stroke_2.png'},{rect:new IWRect(308,-1,2,2),url:'sample_weddings_files/stroke_3.png'},{rect:new IWRect(308,1,2,115),url:'sample_weddings_files/stroke_4.png'},{rect:new IWRect(308,116,2,2),url:'sample_weddings_files/stroke_5.png'},{rect:new IWRect(1,116,307,2),url:'sample_weddings_files/stroke_6.png'},{rect:new IWRect(-1,116,2,2),url:'sample_weddings_files/stroke_7.png'}],new IWSize(309,117)),shadow_8:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_9:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_7:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_6:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000})});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{loadMozillaCSS('sample_weddings_files/sample_weddingsMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');iWebWriteCounter();applyEffects()}
function onPageUnload()
{Widget.onunload();}
