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

function iWebWriteCounter()
{try
{writeCounter();}
catch(e)
{}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-4,4,8,128),url:'Castle_Oaks_Homepage_files/stroke.png'},{rect:new IWRect(-4,-4,8,8),url:'Castle_Oaks_Homepage_files/stroke_1.png'},{rect:new IWRect(4,-4,522,8),url:'Castle_Oaks_Homepage_files/stroke_2.png'},{rect:new IWRect(526,-4,8,8),url:'Castle_Oaks_Homepage_files/stroke_3.png'},{rect:new IWRect(526,4,8,128),url:'Castle_Oaks_Homepage_files/stroke_4.png'},{rect:new IWRect(526,132,8,8),url:'Castle_Oaks_Homepage_files/stroke_5.png'},{rect:new IWRect(4,132,522,8),url:'Castle_Oaks_Homepage_files/stroke_6.png'},{rect:new IWRect(-4,132,8,8),url:'Castle_Oaks_Homepage_files/stroke_7.png'}],new IWSize(530,136))});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{loadMozillaCSS('Castle_Oaks_Homepage_files/Castle_Oaks_HomepageMoz.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');fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');Widget.onload();iWebWriteCounter();applyEffects()}
function onPageUnload()
{Widget.onunload();}
