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

function iWebWriteCounter()
{try
{writeCounter();}
catch(e)
{}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,428),url:'SimonWillisAdventureWriting_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'SimonWillisAdventureWriting_files/stroke_1.png'},{rect:new IWRect(1,-1,132,2),url:'SimonWillisAdventureWriting_files/stroke_2.png'},{rect:new IWRect(133,-1,2,2),url:'SimonWillisAdventureWriting_files/stroke_3.png'},{rect:new IWRect(133,1,2,428),url:'SimonWillisAdventureWriting_files/stroke_4.png'},{rect:new IWRect(133,429,2,2),url:'SimonWillisAdventureWriting_files/stroke_5.png'},{rect:new IWRect(1,429,132,2),url:'SimonWillisAdventureWriting_files/stroke_6.png'},{rect:new IWRect(-1,429,2,2),url:'SimonWillisAdventureWriting_files/stroke_7.png'}],new IWSize(134,430)),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,209),url:'SimonWillisAdventureWriting_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'SimonWillisAdventureWriting_files/stroke_17.png'},{rect:new IWRect(1,-1,153,2),url:'SimonWillisAdventureWriting_files/stroke_18.png'},{rect:new IWRect(154,-1,2,2),url:'SimonWillisAdventureWriting_files/stroke_19.png'},{rect:new IWRect(154,1,2,209),url:'SimonWillisAdventureWriting_files/stroke_20.png'},{rect:new IWRect(154,210,2,2),url:'SimonWillisAdventureWriting_files/stroke_21.png'},{rect:new IWRect(1,210,153,2),url:'SimonWillisAdventureWriting_files/stroke_22.png'},{rect:new IWRect(-1,210,2,2),url:'SimonWillisAdventureWriting_files/stroke_23.png'}],new IWSize(155,211)),shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,52),url:'SimonWillisAdventureWriting_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'SimonWillisAdventureWriting_files/stroke_9.png'},{rect:new IWRect(1,-1,519,2),url:'SimonWillisAdventureWriting_files/stroke_10.png'},{rect:new IWRect(520,-1,2,2),url:'SimonWillisAdventureWriting_files/stroke_11.png'},{rect:new IWRect(520,1,2,52),url:'SimonWillisAdventureWriting_files/stroke_12.png'},{rect:new IWRect(520,53,2,2),url:'SimonWillisAdventureWriting_files/stroke_13.png'},{rect:new IWRect(1,53,519,2),url:'SimonWillisAdventureWriting_files/stroke_14.png'},{rect:new IWRect(-1,53,2,2),url:'SimonWillisAdventureWriting_files/stroke_15.png'}],new IWSize(521,54)),shadow_3: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})});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{loadMozillaCSS('SimonWillisAdventureWriting_files/SimonWillisAdventureWritingMoz.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('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');detectBrowser();Widget.onload();fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id12');iWebWriteCounter();applyEffects()}
function onPageUnload()
{Widget.onunload();}
