// Created by iWeb 3.0.1 local-build-20091116
//
//  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="id5" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="399" height="282" style="height: 282px; left: 128px; position: absolute; top: -22px; width: 399px; z-index: 1; "><param name="src" value="Media/002%20PROMO%20Copy-MPEG-4%20.mp4" /><param name="controller" value="true" /><param name="autoplay" value="true" /><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="399" height="282" style="height: 282px; left: 128px; position: absolute; top: -22px; width: 399px; z-index: 1; "><param name="src" value="History_%26_Sneak_Peek_files/002%20PROMO%20Copy-MPEG-4%20.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/002%20PROMO%20Copy-MPEG-4%20.mp4"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id5" type="video/quicktime" width="399" height="282" data="Media/002%20PROMO%20Copy-MPEG-4%20.mp4" style="height: 282px; left: 128px; position: absolute; top: -22px; width: 399px; z-index: 1; "><param name="src" value="Media/002%20PROMO%20Copy-MPEG-4%20.mp4"/><param name="controller" value="true"/><param name="autoplay" value="true"/><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_1:new IWPhotoFrame([IWCreateImage('History_%26_Sneak_Peek_files/Freestyle_01.png'),IWCreateImage('History_%26_Sneak_Peek_files/Freestyle_02.png'),IWCreateImage('History_%26_Sneak_Peek_files/Freestyle_03.png'),IWCreateImage('History_%26_Sneak_Peek_files/Freestyle_06.png'),IWCreateImage('History_%26_Sneak_Peek_files/Freestyle_09.png'),IWCreateImage('History_%26_Sneak_Peek_files/Freestyle_08.png'),IWCreateImage('History_%26_Sneak_Peek_files/Freestyle_07.png'),IWCreateImage('History_%26_Sneak_Peek_files/Freestyle_04.png')],null,2,0.800000,3.000000,3.000000,3.000000,3.000000,22.000000,24.000000,23.000000,25.000000,166.000000,222.000000,166.000000,222.000000,null,null,null,0.100000),shadow_1:new IWShadow({blurRadius:3,offset:new IWPoint(0.1736,0.9848),color:'#817b67',opacity:0.700000}),shadow_2:new IWShadow({blurRadius:3,offset:new IWPoint(0.1736,0.9848),color:'#817b67',opacity:0.920000}),shadow_0:new IWShadow({blurRadius:7,offset:new IWPoint(11.3701,6.3025),color:'#817b67',opacity:0.700000}),stroke_0:new IWPhotoFrame([IWCreateImage('History_%26_Sneak_Peek_files/Creme_sidebar_frame_01.png'),IWCreateImage('History_%26_Sneak_Peek_files/Creme_sidebar_frame_02.png'),IWCreateImage('History_%26_Sneak_Peek_files/Creme_sidebar_frame_03.png'),IWCreateImage('History_%26_Sneak_Peek_files/Creme_sidebar_frame_06.png'),IWCreateImage('History_%26_Sneak_Peek_files/Creme_sidebar_frame_09.png'),IWCreateImage('History_%26_Sneak_Peek_files/Creme_sidebar_frame_08.png'),IWCreateImage('History_%26_Sneak_Peek_files/Creme_sidebar_frame_07.png'),IWCreateImage('History_%26_Sneak_Peek_files/Creme_sidebar_frame_04.png')],null,2,1.000000,0.000000,0.000000,0.000000,0.000000,10.000000,16.000000,10.000000,20.000000,523.000000,173.000000,523.000000,173.000000,null,null,null,0.100000)});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{loadMozillaCSS('History_&_Sneak_Peek_files/History_&_Sneak_PeekMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');Widget.onload();iWebWriteCounter();applyEffects()}
function onPageUnload()
{Widget.onunload();}

