// Created by iWeb 3.0.1 local-build-20100115
function writeFlash1()
	{detectBrowser();if(isiPhone)
		{document.write('<div style="height: 121px; width: 698px;  height: 121px; left: 0px; position: absolute; top: 79px; width: 698px; z-index: 1; " ><img src="Images/headerlogo.jpg" alt="" style="border: none; height: 121px; width: 698px; " /></div>');}
	else
		{document.write('<object id="id0" type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0" width="700" height="200"><param name="movie" value="Media/AAK_Intro.swf" /><param name="play" value="true"/><param name="loop" value="false"/><param name="quality" value="high"/><embed src="Media/AAK_Intro.swf" width="700" height="200" play="true" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>');}
	}

function writeFlash2()
	{detectBrowser();if(isiPhone)
		{document.write('<iframe src="All_American_Karate_files/instructors.html" height="144" width="109" frameborder="0" scrolling="no" marginwidth="0" style="position: absolute; top: 15px; left: 0px;"></iframe>');}
	else
		{document.write('<object id="id0" type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0" width="150" height="160"><param name="movie" value="Media/Instructors.swf" /><param name="play" value="true"/><param name="loop" value="true"/><param name="quality" value="high"/><param name="wmode" value="transparent"/><embed src="Media/Instructors.swf" width="150" height="160" play="true" loop="true" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>');}
	}

function writeFlash3()
	{detectBrowser();if(isiPhone)
		{document.write('<iframe src="All_American_Karate_files/welcome.html" height="40" width="640" frameborder="0" scrolling="no" marginwidth="0"></iframe>');}
	else
		{document.write('<object id="id0" type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0" width="640" height="40"><param name="movie" value="Media/AAKwelcome.swf" /><param name="play" value="true"/><param name="loop" value="true"/><param name="quality" value="high"/><param name="bgcolor" value="#F6F6F6"/><embed src="Media/AAKwelcome.swf" width="640" height="40" play="true" loop="true" quality="high" bgcolor="#F6F6F6" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>');}
	}
	
function writeMovie1()
  {detectBrowser();if(isiPhone)
		{document.write('<video src="http://www.allamericankarate.net/Flash/videos/AAKfox8demo.mov" height="125" width="165" title="Fox News Demo" poster="All_American_Karate_files/fox_demo-filtered.jpg" controls></video>');}
	else
		{document.write('<a href="fox_news_demo.html" rel="shadowbox;height=304;width=404" title="Fox News Demo"><img src="All_American_Karate_files/fox_demo-filtered.jpg" name="demo" alt="" style="border: none; height: 125px; width: 165px; " /></a>');}
	}
	
function writeMovie2()
  {detectBrowser();if(isiPhone)
		{document.write('<a href="http://www.youtube.com/watch?v=tpwygK7lyxI&feature=youtube_gdata" title="2009 NBL Super Grands" ><img src="All_American_Karate_files/nbl_super_grands.jpg" alt="" style="border: none; height: 125px; width: 165px; " /></a>');}
	else
		{document.write('<a rel="shadowbox;width=404;height=304;player=swf" title="NBL Super Grands Championships" href="http://www.youtube.com/v/tpwygK7lyxI&hl=en_US&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999&border=1&autoplay=1"><img src="All_American_Karate_files/nbl_super_grands.jpg" alt="" style="border: none; height: 125px; width: 165px; " /></a>');}
	}

setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_4:new IWStrokeParts([{rect:new IWRect(-1,1,2,126),url:'All_American_Karate_files/stroke_32.png'},{rect:new IWRect(-1,-1,2,2),url:'All_American_Karate_files/stroke_33.png'},{rect:new IWRect(1,-1,168,2),url:'All_American_Karate_files/stroke_34.png'},{rect:new IWRect(169,-1,3,2),url:'All_American_Karate_files/stroke_35.png'},{rect:new IWRect(169,1,3,126),url:'All_American_Karate_files/stroke_36.png'},{rect:new IWRect(169,127,3,2),url:'All_American_Karate_files/stroke_37.png'},{rect:new IWRect(1,127,168,2),url:'All_American_Karate_files/stroke_38.png'},{rect:new IWRect(-1,127,2,2),url:'All_American_Karate_files/stroke_39.png'}],new IWSize(171,128)),shadow_9:new IWShadow({blurRadius:4,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000}),shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_3:new IWShadow({blurRadius:5,offset:new IWPoint(2.8284,2.8284),color:'#000000',opacity:0.750000}),shadow_6:new IWShadow({blurRadius:4,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000}),shadow_10:new IWShadow({blurRadius:5,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:1.000000}),shadow_1:new IWShadow({blurRadius:5,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:1.000000}),stroke_6:new IWStrokeParts([{rect:new IWRect(-1,1,2,122),url:'All_American_Karate_files/stroke_48.png'},{rect:new IWRect(-1,-1,2,2),url:'All_American_Karate_files/stroke_49.png'},{rect:new IWRect(1,-1,163,2),url:'All_American_Karate_files/stroke_50.png'},{rect:new IWRect(164,-1,2,2),url:'All_American_Karate_files/stroke_51.png'},{rect:new IWRect(164,1,2,122),url:'All_American_Karate_files/stroke_52.png'},{rect:new IWRect(164,123,2,3),url:'All_American_Karate_files/stroke_53.png'},{rect:new IWRect(1,123,163,3),url:'All_American_Karate_files/stroke_54.png'},{rect:new IWRect(-1,123,2,3),url:'All_American_Karate_files/stroke_55.png'}],new IWSize(165,124)),stroke_5:new IWStrokeParts([{rect:new IWRect(-1,1,2,130),url:'All_American_Karate_files/stroke_40.png'},{rect:new IWRect(-1,-1,2,2),url:'All_American_Karate_files/stroke_41.png'},{rect:new IWRect(1,-1,174,2),url:'All_American_Karate_files/stroke_42.png'},{rect:new IWRect(175,-1,3,2),url:'All_American_Karate_files/stroke_43.png'},{rect:new IWRect(175,1,3,130),url:'All_American_Karate_files/stroke_44.png'},{rect:new IWRect(175,131,3,2),url:'All_American_Karate_files/stroke_45.png'},{rect:new IWRect(1,131,174,2),url:'All_American_Karate_files/stroke_46.png'},{rect:new IWRect(-1,131,2,2),url:'All_American_Karate_files/stroke_47.png'}],new IWSize(176,132)),shadow_4:new IWShadow({blurRadius:5,offset:new IWPoint(2.8284,2.8284),color:'#000000',opacity:0.750000}),stroke_3:new IWStrokeParts([{rect:new IWRect(-1,1,2,131),url:'All_American_Karate_files/stroke_24.png'},{rect:new IWRect(-1,-1,2,2),url:'All_American_Karate_files/stroke_25.png'},{rect:new IWRect(1,-1,175,2),url:'All_American_Karate_files/stroke_26.png'},{rect:new IWRect(176,-1,3,2),url:'All_American_Karate_files/stroke_27.png'},{rect:new IWRect(176,1,3,131),url:'All_American_Karate_files/stroke_28.png'},{rect:new IWRect(176,132,3,2),url:'All_American_Karate_files/stroke_29.png'},{rect:new IWRect(1,132,175,2),url:'All_American_Karate_files/stroke_30.png'},{rect:new IWRect(-1,132,2,2),url:'All_American_Karate_files/stroke_31.png'}],new IWSize(177,133)),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,73),url:'All_American_Karate_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'All_American_Karate_files/stroke_9.png'},{rect:new IWRect(1,-1,78,2),url:'All_American_Karate_files/stroke_10.png'},{rect:new IWRect(79,-1,2,2),url:'All_American_Karate_files/stroke_11.png'},{rect:new IWRect(79,1,2,73),url:'All_American_Karate_files/stroke_12.png'},{rect:new IWRect(79,74,2,2),url:'All_American_Karate_files/stroke_13.png'},{rect:new IWRect(1,74,78,2),url:'All_American_Karate_files/stroke_14.png'},{rect:new IWRect(-1,74,2,2),url:'All_American_Karate_files/stroke_15.png'}],new IWSize(80,75)),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,62),url:'All_American_Karate_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'All_American_Karate_files/stroke_1.png'},{rect:new IWRect(1,-1,123,2),url:'All_American_Karate_files/stroke_2.png'},{rect:new IWRect(124,-1,2,2),url:'All_American_Karate_files/stroke_3.png'},{rect:new IWRect(124,1,2,62),url:'All_American_Karate_files/stroke_4.png'},{rect:new IWRect(124,63,2,2),url:'All_American_Karate_files/stroke_5.png'},{rect:new IWRect(1,63,123,2),url:'All_American_Karate_files/stroke_6.png'},{rect:new IWRect(-1,63,2,2),url:'All_American_Karate_files/stroke_7.png'}],new IWSize(125,64)),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,122),url:'All_American_Karate_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'All_American_Karate_files/stroke_17.png'},{rect:new IWRect(1,-1,163,2),url:'All_American_Karate_files/stroke_18.png'},{rect:new IWRect(164,-1,2,2),url:'All_American_Karate_files/stroke_19.png'},{rect:new IWRect(164,1,2,122),url:'All_American_Karate_files/stroke_20.png'},{rect:new IWRect(164,123,2,3),url:'All_American_Karate_files/stroke_21.png'},{rect:new IWRect(1,123,163,3),url:'All_American_Karate_files/stroke_22.png'},{rect:new IWRect(-1,123,2,3),url:'All_American_Karate_files/stroke_23.png'}],new IWSize(165,124)),shadow_5:new IWShadow({blurRadius:4,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000}),shadow_2:new IWShadow({blurRadius:5,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:1.000000}),shadow_7:new IWShadow({blurRadius:4,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000}),shadow_8:new IWShadow({blurRadius:4,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000})});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{loadMozillaCSS('All_American_Karate_files/All_American_KarateMoz.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('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id14');applyEffects()}
