// Created by iWeb 3.0.1 local-build-20090328
//
//  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(-1,1,2,229),url:'america_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'america_files/stroke_1.png'},{rect:new IWRect(1,-1,694,2),url:'america_files/stroke_2.png'},{rect:new IWRect(695,-1,2,2),url:'america_files/stroke_3.png'},{rect:new IWRect(695,1,2,229),url:'america_files/stroke_4.png'},{rect:new IWRect(695,230,2,2),url:'america_files/stroke_5.png'},{rect:new IWRect(1,230,694,2),url:'america_files/stroke_6.png'},{rect:new IWRect(-1,230,2,2),url:'america_files/stroke_7.png'}],new IWSize(696,231))});registry.applyEffects();}
function hostedOnDM()
{return true;}
function photocastSubscribe()
{photocastHelper("http://www.404010.com/404010/america/rss.xml");}
function onPageLoad()
{loadMozillaCSS('america_files/americaMoz.css')
detectBrowser();adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');iWebInitSearch();adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');Widget.onload();fixupIECSS3Opacity('id1');fixupIECSS3Opacity('id2');fixupAllIEPNGBGs();fixupIECSS3Opacity('id5');fixAllIEPNGs('../Media/transparent.gif');iWebWriteCounter();applyEffects()}
function onPageUnload()
{Widget.onunload();}
