// Created by iWeb 3.0.1 local-build-20100407

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id5" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="446" height="267" style="height: 267px; left: 31px; position: absolute; top: 8px; width: 446px; z-index: 1; "><param name="src" value="Media/Welcome%20to%20songwars.mov" /><param name="controller" value="true" /><param name="autoplay" value="true" /><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="446" height="267" style="height: 267px; left: 31px; position: absolute; top: 8px; width: 446px; z-index: 1; "><param name="src" value="Songwriting_Contest_files/Welcome%20to%20songwars-1.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Welcome%20to%20songwars.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id5" type="video/quicktime" width="446" height="267" data="Media/Welcome%20to%20songwars.mov" style="height: 267px; left: 31px; position: absolute; top: 8px; width: 446px; z-index: 1; "><param name="src" value="Media/Welcome%20to%20songwars.mov"/><param name="controller" value="true"/><param name="autoplay" value="true"/><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="402" height="16"><param name="src" value="Media/Say%20Goodbye-1.mp3" /><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="402" height="16"><param name="src" value="Media/Say%20Goodbye-1.mp3"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id8" type="video/quicktime" width="402" height="16" data="Media/Say%20Goodbye-1.mp3"><param name="src" value="Media/Say%20Goodbye-1.mp3"/><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(-1,1,2,1162),url:'Songwriting_Contest_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Songwriting_Contest_files/stroke_1.png'},{rect:new IWRect(1,-1,135,2),url:'Songwriting_Contest_files/stroke_2.png'},{rect:new IWRect(136,-1,2,2),url:'Songwriting_Contest_files/stroke_3.png'},{rect:new IWRect(136,1,2,1162),url:'Songwriting_Contest_files/stroke_4.png'},{rect:new IWRect(136,1163,2,2),url:'Songwriting_Contest_files/stroke_5.png'},{rect:new IWRect(1,1163,135,2),url:'Songwriting_Contest_files/stroke_6.png'},{rect:new IWRect(-1,1163,2,2),url:'Songwriting_Contest_files/stroke_7.png'}],new IWSize(137,1164))});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{loadMozillaCSS('Songwriting_Contest_files/Songwriting_ContestMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');detectBrowser();adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');applyEffects()}
function onPageUnload()
{Widget.onunload();}
