// Created by iWeb 3.0.1 local-build-20100713
//
//  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="id4" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="357" height="253" style="height: 253px; left: 326px; position: absolute; top: 2270px; width: 357px; z-index: 1; "><param name="src" value="Media/Dan%20%26%20Jay%20on%20writing-iPhone-cell.3gp" /><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="357" height="253" style="height: 253px; left: 326px; position: absolute; top: 2270px; width: 357px; z-index: 1; "><param name="src" value="Write_to_act_files/Dan%20%26%20Jay%20on%20writing-iPhone-cell.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Dan%20%26%20Jay%20on%20writing-iPhone-cell.3gp"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id4" type="video/quicktime" width="357" height="253" data="Media/Dan%20%26%20Jay%20on%20writing-iPhone-cell.3gp" style="height: 253px; left: 326px; position: absolute; top: 2270px; width: 357px; z-index: 1; "><param name="src" value="Media/Dan%20%26%20Jay%20on%20writing-iPhone-cell.3gp"/><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_2:new IWStrokeParts([{rect:new IWRect(-2,2,4,230),url:'Write_to_act_files/stroke_8.png'},{rect:new IWRect(-2,-2,4,4),url:'Write_to_act_files/stroke_9.png'},{rect:new IWRect(2,-2,153,4),url:'Write_to_act_files/stroke_10.png'},{rect:new IWRect(155,-2,4,4),url:'Write_to_act_files/stroke_11.png'},{rect:new IWRect(155,2,4,230),url:'Write_to_act_files/stroke_12.png'},{rect:new IWRect(155,232,4,5),url:'Write_to_act_files/stroke_13.png'},{rect:new IWRect(2,232,153,5),url:'Write_to_act_files/stroke_14.png'},{rect:new IWRect(-2,232,4,5),url:'Write_to_act_files/stroke_15.png'}],new IWSize(157,234)),stroke_1:new IWPhotoFrame([IWCreateImage('Write_to_act_files/GraphPaper_01.png'),IWCreateImage('Write_to_act_files/GraphPaper_02.png'),IWCreateImage('Write_to_act_files/GraphPaper_01_1.png'),IWCreateImage('Write_to_act_files/GraphPaper_01_2.png'),IWCreateImage('Write_to_act_files/GraphPaper_09.png'),IWCreateImage('Write_to_act_files/GraphPaper_08.png'),IWCreateImage('Write_to_act_files/GraphPaper_07.png'),IWCreateImage('Write_to_act_files/GraphPaper_01_3.png')],null,0,1.000000,90.000000,0.000000,90.000000,0.000000,89.000000,11.000000,89.000000,7.000000,11.000000,11.000000,11.000000,11.000000,'Write_to_act_files/graphpaper_tape.png',new IWPoint(0.500000,0),new IWSize(155,47),0.300000),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,1787),url:'Write_to_act_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Write_to_act_files/stroke_1.png'},{rect:new IWRect(2,-2,642,4),url:'Write_to_act_files/stroke_2.png'},{rect:new IWRect(644,-2,4,4),url:'Write_to_act_files/stroke_3.png'},{rect:new IWRect(644,2,4,1787),url:'Write_to_act_files/stroke_4.png'},{rect:new IWRect(644,1789,4,4),url:'Write_to_act_files/stroke_5.png'},{rect:new IWRect(2,1789,642,4),url:'Write_to_act_files/stroke_6.png'},{rect:new IWRect(-2,1789,4,4),url:'Write_to_act_files/stroke_7.png'}],new IWSize(646,1791)),shadow_0:new IWShadow({blurRadius:34,offset:new IWPoint(3.5355,3.5355),color:'#000000',opacity:1.000000})});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{loadMozillaCSS('Write_to_act_files/Write_to_actMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');iWebWriteCounter();applyEffects()}
function onPageUnload()
{Widget.onunload();}
