// Created by iWeb 3.0.1 local-build-20090812
//
//  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="id1" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="278" height="201" style="clear: right; float: right; height: 201px; margin: 4px 0px 4px 4px; position: relative; width: 278px; " class="inline-block"><param name="src" value="Media/mobile-1.m4v"/><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="id1" type="video/quicktime" width="278" height="201" style="clear: right; float: right; height: 201px; margin: 4px 0px 4px 4px; position: relative; width: 278px; " class="inline-block"><param name="src" value="Annoy-A-Teen_Information_files/AnnoyATeen%20-%201%20-%20Intro-mobile.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/mobile-1.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id1" type="video/quicktime" width="278" height="201" data="Media/mobile-1.m4v" style="clear: right; float: right; height: 201px; margin: 4px 0px 4px 4px; position: relative; width: 278px; " class="inline-block"><param name="src" value="Media/mobile-1.m4v"/><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>');}}
function writeMovie2()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id2" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="194" height="145" style="height: 145px; position: relative; width: 194px; " class="inline-block"><param name="src" value="Media/mobile-2.m4v"/><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="id2" type="video/quicktime" width="194" height="145" style="height: 145px; position: relative; width: 194px; " class="inline-block"><param name="src" value="Annoy-A-Teen_Information_files/AnnoyATeen%20-%202%20-%20Continuous-mobile.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/mobile-2.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id2" type="video/quicktime" width="194" height="145" data="Media/mobile-2.m4v" style="height: 145px; position: relative; width: 194px; " class="inline-block"><param name="src" value="Media/mobile-2.m4v"/><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>');}}
function writeMovie3()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id3" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="194" height="145" style="height: 145px; position: relative; width: 194px; " class="inline-block"><param name="src" value="Media/mobile-3.m4v"/><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="id3" type="video/quicktime" width="194" height="145" style="height: 145px; position: relative; width: 194px; " class="inline-block"><param name="src" value="Annoy-A-Teen_Information_files/AnnoyATeen%20-%203%20-%20Pulsed-mobile.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/mobile-3.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id3" type="video/quicktime" width="194" height="145" data="Media/mobile-3.m4v" style="height: 145px; position: relative; width: 194px; " class="inline-block"><param name="src" value="Media/mobile-3.m4v"/><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>');}}
function writeMovie4()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id4" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="194" height="145" style="height: 145px; position: relative; width: 194px; " class="inline-block"><param name="src" value="Media/mobile-5.m4v"/><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="194" height="145" style="height: 145px; position: relative; width: 194px; " class="inline-block"><param name="src" value="Annoy-A-Teen_Information_files/AnnoyATeen%20-%204%20-%20Random-mobile-1.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/mobile-5.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id4" type="video/quicktime" width="194" height="145" data="Media/mobile-5.m4v" style="height: 145px; position: relative; width: 194px; " class="inline-block"><param name="src" value="Media/mobile-5.m4v"/><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>');}}
function writeMovie5()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id5" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="302" height="217" style="clear: right; float: right; height: 217px; margin: 4px 0px 4px 4px; position: relative; width: 302px; " class="inline-block"><param name="src" value="Media/mobile-7.m4v"/><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="id5" type="video/quicktime" width="302" height="217" style="clear: right; float: right; height: 217px; margin: 4px 0px 4px 4px; position: relative; width: 302px; " class="inline-block"><param name="src" value="Annoy-A-Teen_Information_files/AnnoyATeen%20-%207%20-%20Compatibility-mobile.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/mobile-7.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id5" type="video/quicktime" width="302" height="217" data="Media/mobile-7.m4v" style="clear: right; float: right; height: 217px; margin: 4px 0px 4px 4px; position: relative; width: 302px; " class="inline-block"><param name="src" value="Media/mobile-7.m4v"/><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>');}}
function writeMovie6()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id6" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="352" height="215" style="clear: right; float: right; height: 215px; margin: 2px 0px 2px 2px; position: relative; width: 352px; " class="inline-block"><param name="src" value="Media/mobile-6.m4v"/><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="id6" type="video/quicktime" width="352" height="215" style="clear: right; float: right; height: 215px; margin: 2px 0px 2px 2px; position: relative; width: 352px; " class="inline-block"><param name="src" value="Annoy-A-Teen_Information_files/AnnoyATeen%20-%206%20-%20Other%20Devices-mobile.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/mobile-6.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id6" type="video/quicktime" width="352" height="215" data="Media/mobile-6.m4v" style="clear: right; float: right; height: 215px; margin: 2px 0px 2px 2px; position: relative; width: 352px; " class="inline-block"><param name="src" value="Media/mobile-6.m4v"/><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_1:new IWStrokeParts([{rect:new IWRect(-3,3,7,277),url:'Annoy-A-Teen_Information_files/stroke.png'},{rect:new IWRect(-3,-3,7,6),url:'Annoy-A-Teen_Information_files/stroke_1.png'},{rect:new IWRect(4,-3,182,6),url:'Annoy-A-Teen_Information_files/stroke_2.png'},{rect:new IWRect(186,-3,6,6),url:'Annoy-A-Teen_Information_files/stroke_3.png'},{rect:new IWRect(186,3,5,277),url:'Annoy-A-Teen_Information_files/stroke_4.png'},{rect:new IWRect(186,280,6,5),url:'Annoy-A-Teen_Information_files/stroke_5.png'},{rect:new IWRect(4,280,182,5),url:'Annoy-A-Teen_Information_files/stroke_6.png'},{rect:new IWRect(-2,280,6,5),url:'Annoy-A-Teen_Information_files/stroke_7.png'}],new IWSize(189,283)),stroke_0:new IWEmptyStroke()});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{loadMozillaCSS('Annoy-A-Teen_Information_files/Annoy-A-Teen_InformationMoz.css')
adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();iWebWriteCounter();fixupIECSS3Opacity('id8');applyEffects()}
function onPageUnload()
{Widget.onunload();}
