// Created by iWeb 2.0.4 local-build-20110429
//
//  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({stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,191),url:'Portland_Piano_Teacher_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Portland_Piano_Teacher_files/stroke_1.png'},{rect:new IWRect(2,-2,340,4),url:'Portland_Piano_Teacher_files/stroke_2.png'},{rect:new IWRect(342,-2,5,4),url:'Portland_Piano_Teacher_files/stroke_3.png'},{rect:new IWRect(342,2,5,191),url:'Portland_Piano_Teacher_files/stroke_4.png'},{rect:new IWRect(342,193,5,4),url:'Portland_Piano_Teacher_files/stroke_5.png'},{rect:new IWRect(2,193,340,4),url:'Portland_Piano_Teacher_files/stroke_6.png'},{rect:new IWRect(-2,193,4,4),url:'Portland_Piano_Teacher_files/stroke_7.png'}],new IWSize(344,195)),stroke_1:new IWStrokeParts([{rect:new IWRect(-2,2,4,70),url:'Portland_Piano_Teacher_files/stroke_8.png'},{rect:new IWRect(-2,-2,4,4),url:'Portland_Piano_Teacher_files/stroke_9.png'},{rect:new IWRect(2,-2,159,4),url:'Portland_Piano_Teacher_files/stroke_10.png'},{rect:new IWRect(161,-2,4,4),url:'Portland_Piano_Teacher_files/stroke_11.png'},{rect:new IWRect(161,2,4,70),url:'Portland_Piano_Teacher_files/stroke_12.png'},{rect:new IWRect(161,72,4,5),url:'Portland_Piano_Teacher_files/stroke_13.png'},{rect:new IWRect(2,72,159,5),url:'Portland_Piano_Teacher_files/stroke_14.png'},{rect:new IWRect(-2,72,4,5),url:'Portland_Piano_Teacher_files/stroke_15.png'}],new IWSize(163,74)),stroke_2:new IWStrokeParts([{rect:new IWRect(-2,2,4,326),url:'Portland_Piano_Teacher_files/stroke_16.png'},{rect:new IWRect(-2,-2,4,4),url:'Portland_Piano_Teacher_files/stroke_17.png'},{rect:new IWRect(2,-2,123,4),url:'Portland_Piano_Teacher_files/stroke_18.png'},{rect:new IWRect(125,-2,4,4),url:'Portland_Piano_Teacher_files/stroke_19.png'},{rect:new IWRect(125,2,4,326),url:'Portland_Piano_Teacher_files/stroke_20.png'},{rect:new IWRect(125,328,4,4),url:'Portland_Piano_Teacher_files/stroke_21.png'},{rect:new IWRect(2,328,123,4),url:'Portland_Piano_Teacher_files/stroke_22.png'},{rect:new IWRect(-2,328,4,4),url:'Portland_Piano_Teacher_files/stroke_23.png'}],new IWSize(127,330))});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{loadMozillaCSS('Portland_Piano_Teacher_files/Portland_Piano_TeacherMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');detectBrowser();adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');Widget.onload();fixAllIEPNGs('Media/transparent.gif');iWebWriteCounter();applyEffects()}
function onPageUnload()
{Widget.onunload();}

