// Created by iWeb 3.0.1 local-build-20100210
//
//  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="id7" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="503" height="299" style="height: 299px; left: 98px; position: absolute; top: 610px; width: 503px; z-index: 1; "><param name="src" value="Media/secondshort.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="id7" type="video/quicktime" width="503" height="299" style="height: 299px; left: 98px; position: absolute; top: 610px; width: 503px; z-index: 1; "><param name="src" value="Video_files/secondshort.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/secondshort.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id7" type="video/quicktime" width="503" height="299" data="Media/secondshort.m4v" style="height: 299px; left: 98px; position: absolute; top: 610px; width: 503px; z-index: 1; "><param name="src" value="Media/secondshort.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="id8" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="533" height="371" style="height: 371px; left: 83px; position: absolute; top: 949px; width: 533px; z-index: 1; "><param name="src" value="Media/trailor%202%20rap.mov" /><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="id8" type="video/quicktime" width="533" height="371" style="height: 371px; left: 83px; position: absolute; top: 949px; width: 533px; z-index: 1; "><param name="src" value="Video_files/trailor%202%20rap-1.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/trailor%202%20rap.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id8" type="video/quicktime" width="533" height="371" data="Media/trailor%202%20rap.mov" style="height: 371px; left: 83px; position: absolute; top: 949px; width: 533px; z-index: 1; "><param name="src" value="Media/trailor%202%20rap.mov"/><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_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,351),url:'Video_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Video_files/stroke_1.png'},{rect:new IWRect(2,-2,421,4),url:'Video_files/stroke_2.png'},{rect:new IWRect(423,-2,4,4),url:'Video_files/stroke_3.png'},{rect:new IWRect(423,2,4,351),url:'Video_files/stroke_4.png'},{rect:new IWRect(423,353,4,4),url:'Video_files/stroke_5.png'},{rect:new IWRect(2,353,421,4),url:'Video_files/stroke_6.png'},{rect:new IWRect(-2,353,4,4),url:'Video_files/stroke_7.png'}],new IWSize(425,355))});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{loadMozillaCSS('Video_files/VideoMoz.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('id9');adjustFontSizeIfTooBig('id9');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');IMpreload('Video_files','shapeimage_1','0');IMpreload('Video_files','shapeimage_2','0');IMpreload('Video_files','shapeimage_3','0');IMpreload('Video_files','shapeimage_4','0');iWebWriteCounter();applyEffects()}
function onPageUnload()
{Widget.onunload();}
