// Created by iWeb 2.0.4 local-build-20091224

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id4" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="400" height="316" style="height: 316px; left: 254px; position: absolute; top: 232px; width: 400px; z-index: 1; "><param name="src" value="Media/mobile.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="400" height="316" style="height: 316px; left: 254px; position: absolute; top: 232px; width: 400px; z-index: 1; "><param name="src" value="KB_Video_files/KB%20Website%20Video-mobile.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/mobile.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id4" type="video/quicktime" width="400" height="316" data="Media/mobile.m4v" style="height: 316px; left: 254px; position: absolute; top: 232px; width: 400px; z-index: 1; "><param name="src" value="Media/mobile.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="id7" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="400" height="316" style="height: 316px; left: 257px; position: absolute; top: 672px; width: 400px; z-index: 1; "><param name="src" value="Media/Dynamo%20Video-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="id7" type="video/quicktime" width="400" height="316" style="height: 316px; left: 257px; position: absolute; top: 672px; width: 400px; z-index: 1; "><param name="src" value="KB_Video_files/Dynamo%20Video-1.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Dynamo%20Video-1.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id7" type="video/quicktime" width="400" height="316" data="Media/Dynamo%20Video-1.m4v" style="height: 316px; left: 257px; position: absolute; top: 672px; width: 400px; z-index: 1; "><param name="src" value="Media/Dynamo%20Video-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 writeMovie3()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id9" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="400" height="243" style="height: 243px; left: 257px; position: absolute; top: 1123px; width: 400px; z-index: 1; "><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="id9" type="video/quicktime" width="400" height="243" style="height: 243px; left: 257px; position: absolute; top: 1123px; width: 400px; z-index: 1; "><param name="src" value="KB_Video_files/KB%20Class%20-%20Nov14-09-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="id9" type="video/quicktime" width="400" height="243" data="Media/mobile-1.m4v" style="height: 243px; left: 257px; position: absolute; top: 1123px; width: 400px; z-index: 1; "><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 writeMovie4()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id14" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="400" height="243" style="height: 243px; left: 254px; position: absolute; top: 1510px; width: 400px; z-index: 1; "><param name="src" value="Media/mobile-3.m4v" /><param name="starttime" value="00:01:10:26.0" /><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="id14" type="video/quicktime" width="400" height="243" style="height: 243px; left: 254px; position: absolute; top: 1510px; width: 400px; z-index: 1; "><param name="src" value="KB_Video_files/Saturday%20Kettlebell-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="id14" type="video/quicktime" width="400" height="243" data="Media/mobile-3.m4v" starttime="00:01:10:26.0" style="height: 243px; left: 254px; position: absolute; top: 1510px; width: 400px; z-index: 1; "><param name="src" value="Media/mobile-3.m4v"/><param name="starttime" value="00:01:10:26.0"/><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({shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(6.3640,6.3640),color:'#feffff',opacity:0.750000}),stroke_2:new IWStrokeParts([{rect:new IWRect(-2,2,4,247),url:'KB_Video_files/stroke_16.png'},{rect:new IWRect(-2,-2,4,4),url:'KB_Video_files/stroke_17.png'},{rect:new IWRect(2,-2,111,4),url:'KB_Video_files/stroke_18.png'},{rect:new IWRect(113,-2,4,4),url:'KB_Video_files/stroke_19.png'},{rect:new IWRect(113,2,4,247),url:'KB_Video_files/stroke_20.png'},{rect:new IWRect(113,249,4,4),url:'KB_Video_files/stroke_21.png'},{rect:new IWRect(2,249,111,4),url:'KB_Video_files/stroke_22.png'},{rect:new IWRect(-2,249,4,4),url:'KB_Video_files/stroke_23.png'}],new IWSize(115,251)),stroke_3:new IWStrokeParts([{rect:new IWRect(-4,6,11,109),url:'KB_Video_files/stroke_24.png'},{rect:new IWRect(-5,-6,12,12),url:'KB_Video_files/stroke_25.png'},{rect:new IWRect(7,-5,112,11),url:'KB_Video_files/stroke_26.png'},{rect:new IWRect(119,-8,18,14),url:'KB_Video_files/stroke_27.png'},{rect:new IWRect(119,6,11,109),url:'KB_Video_files/stroke_28.png'},{rect:new IWRect(119,115,9,12),url:'KB_Video_files/stroke_29.png'},{rect:new IWRect(7,115,112,11),url:'KB_Video_files/stroke_30.png'},{rect:new IWRect(-9,115,16,10),url:'KB_Video_files/stroke_31.png'}],new IWSize(125,121)),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,37),url:'KB_Video_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'KB_Video_files/stroke_1.png'},{rect:new IWRect(1,-1,700,2),url:'KB_Video_files/stroke_2.png'},{rect:new IWRect(701,-1,2,2),url:'KB_Video_files/stroke_3.png'},{rect:new IWRect(701,1,2,37),url:'KB_Video_files/stroke_4.png'},{rect:new IWRect(701,38,2,2),url:'KB_Video_files/stroke_5.png'},{rect:new IWRect(1,38,700,2),url:'KB_Video_files/stroke_6.png'},{rect:new IWRect(-1,38,2,2),url:'KB_Video_files/stroke_7.png'}],new IWSize(702,39)),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,23),url:'KB_Video_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'KB_Video_files/stroke_9.png'},{rect:new IWRect(1,-1,666,2),url:'KB_Video_files/stroke_10.png'},{rect:new IWRect(667,-1,2,2),url:'KB_Video_files/stroke_11.png'},{rect:new IWRect(667,1,2,23),url:'KB_Video_files/stroke_12.png'},{rect:new IWRect(667,24,2,2),url:'KB_Video_files/stroke_13.png'},{rect:new IWRect(1,24,666,2),url:'KB_Video_files/stroke_14.png'},{rect:new IWRect(-1,24,2,2),url:'KB_Video_files/stroke_15.png'}],new IWSize(668,25))});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{loadMozillaCSS('KB_Video_files/KB_VideoMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');fixAllIEPNGs('Media/transparent.gif');applyEffects()}
