// Created by iWeb 3.0.1 local-build-20100707

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="360" height="218" style="height: 218px; left: 8px; position: absolute; top: 175px; width: 360px; z-index: 1; "><param name="src" value="Media/sharpesperiltrailer.mp4" /><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="360" height="218" style="height: 218px; left: 8px; position: absolute; top: 175px; width: 360px; z-index: 1; "><param name="src" value="Sharpes_Peril_files/sharpesperiltrailer-8.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/sharpesperiltrailer.mp4"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id7" type="video/quicktime" width="360" height="218" data="Media/sharpesperiltrailer.mp4" style="height: 218px; left: 8px; position: absolute; top: 175px; width: 360px; z-index: 1; "><param name="src" value="Media/sharpesperiltrailer.mp4"/><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(-2,-1,1,56),url:'Sharpes_Peril_files/stroke_8.png'},{rect:new IWRect(-2,-2,1,1),url:'Sharpes_Peril_files/stroke_9.png'},{rect:new IWRect(-1,-2,197,1),url:'Sharpes_Peril_files/stroke_10.png'},{rect:new IWRect(196,-2,1,1),url:'Sharpes_Peril_files/stroke_11.png'},{rect:new IWRect(196,-1,1,56),url:'Sharpes_Peril_files/stroke_12.png'},{rect:new IWRect(196,55,1,1),url:'Sharpes_Peril_files/stroke_13.png'},{rect:new IWRect(-1,55,197,1),url:'Sharpes_Peril_files/stroke_14.png'},{rect:new IWRect(-2,55,1,1),url:'Sharpes_Peril_files/stroke_15.png'}],new IWSize(195,53)),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,68),url:'Sharpes_Peril_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Sharpes_Peril_files/stroke_1.png'},{rect:new IWRect(1,-1,103,2),url:'Sharpes_Peril_files/stroke_2.png'},{rect:new IWRect(104,-1,2,2),url:'Sharpes_Peril_files/stroke_3.png'},{rect:new IWRect(104,1,2,68),url:'Sharpes_Peril_files/stroke_4.png'},{rect:new IWRect(104,69,2,2),url:'Sharpes_Peril_files/stroke_5.png'},{rect:new IWRect(1,69,103,2),url:'Sharpes_Peril_files/stroke_6.png'},{rect:new IWRect(-1,69,2,2),url:'Sharpes_Peril_files/stroke_7.png'}],new IWSize(105,70)),shadow_0:new IWShadow({blurRadius:0,offset:new IWPoint(0.0000,0.0000),color:'#3f2707',opacity:1.000000}),stroke_4:new IWStrokeParts([{rect:new IWRect(-1,1,2,190),url:'Sharpes_Peril_files/stroke_24.png'},{rect:new IWRect(-1,-1,2,2),url:'Sharpes_Peril_files/stroke_25.png'},{rect:new IWRect(1,-1,310,2),url:'Sharpes_Peril_files/stroke_26.png'},{rect:new IWRect(311,-1,3,2),url:'Sharpes_Peril_files/stroke_27.png'},{rect:new IWRect(311,1,3,190),url:'Sharpes_Peril_files/stroke_28.png'},{rect:new IWRect(311,191,3,2),url:'Sharpes_Peril_files/stroke_29.png'},{rect:new IWRect(1,191,310,2),url:'Sharpes_Peril_files/stroke_30.png'},{rect:new IWRect(-1,191,2,2),url:'Sharpes_Peril_files/stroke_31.png'}],new IWSize(312,192)),stroke_5:new IWStrokeParts([{rect:new IWRect(-1,1,2,181),url:'Sharpes_Peril_files/stroke_32.png'},{rect:new IWRect(-1,-1,2,2),url:'Sharpes_Peril_files/stroke_33.png'},{rect:new IWRect(1,-1,298,2),url:'Sharpes_Peril_files/stroke_34.png'},{rect:new IWRect(299,-1,2,2),url:'Sharpes_Peril_files/stroke_35.png'},{rect:new IWRect(299,1,2,181),url:'Sharpes_Peril_files/stroke_36.png'},{rect:new IWRect(299,182,2,3),url:'Sharpes_Peril_files/stroke_37.png'},{rect:new IWRect(1,182,298,3),url:'Sharpes_Peril_files/stroke_38.png'},{rect:new IWRect(-1,182,2,3),url:'Sharpes_Peril_files/stroke_39.png'}],new IWSize(300,183)),stroke_3:new IWStrokeParts([{rect:new IWRect(-1,1,2,192),url:'Sharpes_Peril_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'Sharpes_Peril_files/stroke_17.png'},{rect:new IWRect(1,-1,298,2),url:'Sharpes_Peril_files/stroke_18.png'},{rect:new IWRect(299,-1,2,2),url:'Sharpes_Peril_files/stroke_19.png'},{rect:new IWRect(299,1,2,192),url:'Sharpes_Peril_files/stroke_20.png'},{rect:new IWRect(299,193,2,3),url:'Sharpes_Peril_files/stroke_21.png'},{rect:new IWRect(1,193,298,3),url:'Sharpes_Peril_files/stroke_22.png'},{rect:new IWRect(-1,193,2,3),url:'Sharpes_Peril_files/stroke_23.png'}],new IWSize(300,194)),stroke_2:new IWPhotoFrame([IWCreateImage('Sharpes_Peril_files/Freestyle_01.png'),IWCreateImage('Sharpes_Peril_files/Freestyle_02.png'),IWCreateImage('Sharpes_Peril_files/Freestyle_03.png'),IWCreateImage('Sharpes_Peril_files/Freestyle_06.png'),IWCreateImage('Sharpes_Peril_files/Freestyle_09.png'),IWCreateImage('Sharpes_Peril_files/Freestyle_08.png'),IWCreateImage('Sharpes_Peril_files/Freestyle_07.png'),IWCreateImage('Sharpes_Peril_files/Freestyle_04.png')],null,2,0.800000,3.000000,3.000000,3.000000,3.000000,22.000000,24.000000,23.000000,25.000000,166.000000,222.000000,166.000000,222.000000,null,null,null,0.100000),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#3f2707',opacity:0.750000})});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{loadMozillaCSS('Sharpes_Peril_files/Sharpes_PerilMoz.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('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id2');applyEffects()}

