<!--
/**
 * Find a menu object in the array
 */
function MM_findObj(n, d) 
{ //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) 
  {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
} // MM_findObj(n, d)

/**
 * Configure the menus at the top of the screen
 */
function fwLoadMenus() 
{
  if (window.fw_menu_0) return;
  window.fw_menu_0 = new Menu("root",156,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#0000ff","#727272");
  fw_menu_0.addMenuItem("MotionCoach Pro","location='mp_home.htm'");
  fw_menu_0.addMenuItem("Athletic Education","location='education/index.htm'");
  fw_menu_0.addMenuItem("Why it works","location='hm_imprve.htm'");
  fw_menu_0.addMenuItem("Easy use: Proof!","location='hm_easy.htm'");
  fw_menu_0.addMenuItem("Swing Analysis","location='hm_tmpl.htm'");
  fw_menu_0.addMenuItem("Video Features","location='hm_bsbl.htm'");
  fw_menu_0.addMenuItem("Handicap Calculation","location='hm_glr.htm'");
  fw_menu_0.addMenuItem("Product Support","location='hm_suprt.htm'");
  fw_menu_0.addMenuItem("Compare products","location='hm_comp.htm'");
  fw_menu_0.addMenuItem("Hardware requirements","location='in_req.htm'");
  fw_menu_0.addMenuItem("Model Videos","location='in_video.htm'");
  fw_menu_0.addMenuItem("About us","location='in_abus.htm'");
    fw_menu_0.fontWeight="bold";
   fw_menu_0.hideOnMouseOut=true;
  window.fw_menu_1 = new Menu("root",156,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#0000ff","#727272");
  fw_menu_1.addMenuItem("Side by Side","location='hm_use.htm#sidebyside'");
  fw_menu_1.addMenuItem("Swing Plane","location='hm_use.htm#swingplane'");
  fw_menu_1.addMenuItem("Launch Angle","location='hm_use.htm#balllaunch'");
  fw_menu_1.addMenuItem("Address vs Impact","location='hm_use.htm#address'");
  fw_menu_1.addMenuItem("Weight Transfer","location='hm_use.htm#weight'");
  fw_menu_1.addMenuItem("Spine Angle","location='hm_use.htm#spineangle'");
  fw_menu_1.addMenuItem("Casting, No Distance","location='hm_use.htm#casting'");
  fw_menu_1.addMenuItem("Self Compare","location='hm_use.htm#selfcompare'");
  fw_menu_1.addMenuItem("Self Monitor","location='hm_use.htm#selfmonitor'");
  fw_menu_1.addMenuItem("Swing Sequence","location='hm_use.htm#swingsequence'");
   fw_menu_1.fontWeight="bold";
   fw_menu_1.hideOnMouseOut=true;
  window.fw_menu_2 = new Menu("root",156,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#0000ff","#727272");
  fw_menu_2.addMenuItem("Capture Video","location='mp_capt.htm'");
  fw_menu_2.addMenuItem("Video Player","location='mp_play.htm'");
  fw_menu_2.addMenuItem("Game Tape","location='mp_gmtp.htm'");
  fw_menu_2.addMenuItem("Video Gallery","location='mp_gal.htm'");
  fw_menu_2.addMenuItem("Internet Browser","location='mp_brws.htm'");
   fw_menu_2.fontWeight="bold";
   fw_menu_2.hideOnMouseOut=true;
  window.fw_menu_3 = new Menu("root",156,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#0000ff","#727272");
  fw_menu_3.addMenuItem("Blend Videos","location='mp_bsbl.htm'");
  fw_menu_3.addMenuItem("Extract subject","location='mp_xtrt.htm'");
  fw_menu_3.addMenuItem("Freeze Motion","location='mp_frez.htm'");
   fw_menu_3.fontWeight="bold";
   fw_menu_3.hideOnMouseOut=true;
  window.fw_menu_4 = new Menu("root",156,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#0000ff","#727272");
  fw_menu_4.addMenuItem("Templates","location='mc_tmpl.htm'");
  fw_menu_4.addMenuItem("MotionCAD FS","location='mc_stcd.htm'");
  fw_menu_4.addMenuItem("Video objects","location='mc_vidob.htm'");
  fw_menu_4.addMenuItem("Picture objects","location='mc_picob.htm'");
  fw_menu_4.addMenuItem("General info","location='mc_genrl.htm'");
  fw_menu_4.addMenuItem("Advanced info","location='mc_advc.htm'");
   fw_menu_4.fontWeight="bold";
   fw_menu_4.hideOnMouseOut=true;
  window.fw_menu_5 = new Menu("root",156,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#0000ff","#727272");
  fw_menu_5.addMenuItem("Speed Calculation","location='mp_mspd.htm'");
  fw_menu_5.addMenuItem("Length Measure","location='mp_msmsr.htm'");
  fw_menu_5.addMenuItem("Pictures","location='mp_mspic.htm'");
  fw_menu_5.addMenuItem("Calibration","location='mp_vcal.htm'");
  fw_menu_5.addMenuItem("Graph Options","location='mp_msgrh.htm'");
   fw_menu_5.fontWeight="bold";
   fw_menu_5.hideOnMouseOut=true;
  window.fw_menu_6 = new Menu("root",156,17,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#0000ff","#727272");
  fw_menu_6.addMenuItem("Order Now!","location='http://shop.mediavention.com/merchant.ihtml?pid=1268&lastcatid=346&step=4'");
  fw_menu_6.addMenuItem("Company News","location='http://mediavention.com/news.htm'");
  fw_menu_6.addMenuItem("Featured Pros","location='http://mediavention.com/pros.htm'");
  fw_menu_6.addMenuItem("Monthly Feature","location='in_useomonth.htm'");
   fw_menu_6.fontWeight="bold";
   fw_menu_6.hideOnMouseOut=true;
  fw_menu_6.writeMenus();
  
} // fwLoadMenus()

/**
 * Write the menu text, this saves copying menu formating
 */
function writemenuhtml()
{
  document.writeln('<td><p><IMG id=_x0000_i1025 style=\"WIDTH: 85px; HEIGHT: 43px\" width=85 height=43 src=\"hm_logo.gif\" ></p>');
  document.writeln('</td><td background=topback1.jpg><p>');
  document.writeln('<A href=\"hm_home.htm\" id=HOME name=HOME onmouseover=\"window.FW_showMenu(window.fw_menu_0,150,60); changeImages(\'HOME_IMG\', \'but_bkhm.jpg\'); return true;\" onmouseout=\"changeImages(\'HOME_IMG\', \'but_home.jpg\');FW_startTimeout(); return true;\"><IMG border=0 height=36 ');
  document.writeln('id=HOME_IMG name=HOME_IMG alt=\"Home page of MotionCoach help\" src=\"but_home.jpg\" width=94></a><A href=\"hm_use.htm\"');
  document.writeln('id=USE name=USE onmouseover=\"window.FW_showMenu(window.fw_menu_1,244,60); changeImages(\'USE_IMG\', \'but_bkus.jpg\'); return true;\" onmouseout=\"changeImages(\'USE_IMG\', \'but_use.jpg\'); FW_startTimeout(); return true;\"');
  document.writeln('><IMG border=0 height=36 id=USE_IMG name=USE_IMG src=\"but_use.jpg\" width=94');
  document.writeln('></A><A href=\"mp_tool.htm\" id=TOOL name=TOOL onmouseout=\"changeImages(\'TOOL_IMG\', \'but_tool.jpg\'); FW_startTimeout();return true;\" onmouseover=\"window.FW_showMenu(window.fw_menu_2,340,60);changeImages(\'TOOL_IMG\', \'but_bktl.jpg\'); return true;\"');
  document.writeln('><IMG border=0 height=36 id=TOOL_IMG name=TOOL_IMG src=\"but_tool.jpg\" width=94');
  document.writeln('></A><A href=\"mp_eng.htm\" id=ENG name=ENG onmouseout=\"changeImages(\'ENG_IMG\', \'but_engn.jpg\'); FW_startTimeout(); return true;\" onmouseover=\"window.FW_showMenu(window.fw_menu_3,440,60); changeImages(\'ENG_IMG\', \'but_bkeg.jpg\'); return true;\"');
  document.writeln('><IMG border=0 height=36 id=ENG_IMG name=ENG_IMG src=\"but_engn.jpg\" width=94');
  document.writeln('></A><A href=\"mp_mtn.htm\" id=MCAD name=MCAD onmouseout=\"changeImages(\'MCAD_IMG\', \'but_cad.jpg\'); FW_startTimeout(); return true;\" onmouseover=\"window.FW_showMenu(window.fw_menu_4,510,60); changeImages(\'MCAD_IMG\', \'but_bkmc.jpg\'); return true;\"');	
  document.writeln('><IMG border=0 height=36 id=MCAD_IMG name=MCAD_IMG src=\"but_cad.jpg\" width=94');
  document.writeln('></A><A href=\"mp_mspd.htm\" id=MSPD name=MSPD onmouseout=\"changeImages(\'MSPD_IMG\', \'but_mspd.jpg\'); FW_startTimeout(); return true;\" onmouseover=\"window.FW_showMenu(window.fw_menu_5,600,60); changeImages(\'MSPD_IMG\', \'but_bkms.jpg\'); return true;\"');	
  document.writeln('><IMG border=0 height=36 id=MSPD_IMG name=MSPD_IMG src=\"but_mspd.jpg\" width=94');
  document.writeln('></A><a href=\"http://motioncoach.com\" name=\"ONLINE\" id=\"ONLINE\" onmouseover=\"changeImages(\'ONLINE_IMG\', \'but_bkol.jpg\'); window.FW_showMenu(window.fw_menu_6,550,60); return true;\" onmouseout=\"changeImages(\'ONLINE_IMG\', \'but_onln.jpg\'); FW_startTimeout(); return true;\"');
  document.writeln('><IMG border=0 height=36 id=ONLINE_IMG name=ONLINE_IMG src=\"but_onln.jpg\" width=94></a></p></td>');
} // writemenuhtml()

/**
 * Write a standard e-mail message
 */
function writemail_copyrite( inPageId )
{
	document.writeln('<p><table width=\"100%" border=\"0\"><tr>');
   	document.writeln('<td background=botback2.jpg><font size=\"1\">Copyright @ 2002-5 Mediavention Inc. All rights reserved</font></td>');
   	document.writeln('<td background=botback2.jpg><span style=\"FONT-FAMILY: Arial; FONT-SIZE: 7.5pt\"> <a href=mailto:webmaster@mediavention.com>Questions? E-mail us or Call (519)837-3653</a></span></td>');
   	document.writeln('<td><a href=http://mediavention.com><img height=16 src=\"mp_mv.gif\" width=150 border=0></a></td>');
	document.writeln('</tr><tr><td><font size=1><FORM ACTION=\"http://search.freefind.com/find.html\" METHOD=\"GET\" target=\"_self\">');
	document.writeln('<A HREF=\"http://search.freefind.com/find.html?id=81181110\">Search this site</a>powered by <A HREF=\"http://www.freefind.com">FreeFind</A><br>');
	document.writeln('<INPUT TYPE=\"HIDDEN\" NAME=\"id\" VALUE=\"81181110\"><INPUT TYPE=\"HIDDEN" NAME=\"pid\" VALUE=\"r\"><INPUT TYPE=\"HIDDEN\" NAME=\"mode\" VALUE=\"ALL\">');
	document.writeln('<INPUT type=\"HIDDEN\" name=\"n\" value=\"0\"><INPUT TYPE=\"TEXT\" NAME=\"query\" SIZE=\"20\"><INPUT TYPE=\"SUBMIT\" VALUE=\" Find! \"><input type=\"SUBMIT\" name=\"sitemap\" value=\"Site Map\"></FORM></font></td></table>');
}// writemail_copyrite( inPageId )


/**
 * Write the side bar html
 */
function write_sidebar( inPageId )
{
	document.writeln('<P align=center><a name=\"GETCOACH\" id=\"GETCOACH\" onmouseover=\"changeImages(\'GETCOACH_IMG\', \'getcoach2.jpg\'); return true;"'); 
	document.writeln('onmouseout=\"changeImages(\'GETCOACH_IMG\', \'getcoach.gif\'); return true;\" href=\"http://shop.mediavention.com/merchant.ihtml?cid=1585&step=2"');
	document.writeln('><IMG id=GETCOACH_IMG height=45 alt=\"Get the coach!\" src=\"getcoach.gif\" width=77 border=0 name=GETCOACH_IMG><BR><FONT color=yellow><B>Start Today!<BR>Complete Solution with Camera Only $128<BR>Click Here...</B></FONT></a></P>');
	if( 1 == inPageId )
	{
		document.writeln('<P><A href=\"hm_home.htm\"><FONT size = 4><IMG border=0 height=15 id=_x0000_i1033 src=\"but40_in.jpg\"');
		document.writeln('width=40>Home</FONT><BR></A><A'); 
		document.writeln('href=\"hm_imprve.htm\">Why it works<BR></A><A'); 
		document.writeln('href=\"hm_easy.htm\">Easy use: Proof!<BR></A><A'); 
		document.writeln('href=\"hm_tmpl.htm\">Swing Analysis</A><BR><A'); 
		document.writeln('href=\"hm_bsbl.htm\">Video Features</A><BR><A'); 
		document.writeln('href=\"hm_glr.htm\">Handicap<BR></A><A'); 
		document.writeln('href=\"hm_suprt.htm\">Support<BR></A><A'); 
		document.writeln('href=\"hm_comp.htm\">Compare</A><BR><A'); 
		document.writeln('href=\"in_req.htm\">Hardware<BR></A><A');
		document.writeln('href=\"in_video.htm\">Model Video</A><BR><A'); 
		document.writeln('href=\"in_abus.htm\">About Us</A><BR>');
	}	
	else
	{
		document.writeln('<P><A href=\"mp_home.htm\"><FONT face=Arial size = 4><IMG border=0 height=15 id=_x0000_i1033 src=\"but40_ot.jpg\"'); 
		document.writeln('width=40>Home</FONT><BR>');
	}
	if( 2 == inPageId )
	{
		document.writeln('<A href=\"hm_use.htm\"><IMG border=0 height=15 id=_x0000_i1034 src=\"but40_in.jpg\" width=40');
		document.writeln('><FONT face=Arial size = 4>Usage</FONT></A><BR><A');
		document.writeln('href=\"hm_use.htm#sidebyside\">Side by Side</A><BR><A');
		document.writeln('href=\"hm_use.htm#swingplane\">Swing Plane</A><BR><A');
		document.writeln('href=\"hm_use.htm#balllaunch\">Launch Angle</A><BR><A');
		document.writeln('href=\"hm_use.htm#address\">Address</A><BR><A');
		document.writeln('href=\"hm_use.htm#weight\">Weight</A><BR><A');
		document.writeln('href=\"hm_use.htm#SpineAngle\">Spine Angle</A><BR><A');
		document.writeln('href=\"hm_use.htm#selfcompare\">Self Compare</A><BR><A');
		document.writeln('href=\"hm_use.htm#motion\">Motion Compare</A><BR><A');
		document.writeln('href=\"hm_use.htm#selfmonitor\">Self Monitor</A><BR><A'); 
		document.writeln('href=\"hm_use.htm#swingsequence\">Swing Sequence</A><BR>');
	}
	else
	{
		document.writeln('<A href=\"hm_use.htm\"><IMG');
		document.writeln('border=0 height=15 id=_x0000_i1034 src=\"but40_ot.jpg\" width=40');
		document.writeln('><FONT size = 4>Usage</FONT></A><BR>');
	}
	if( 3 == inPageId )
	{
		document.writeln('<A href=\"mp_tool.htm\"><IMG');
		document.writeln('border=0 height=15 id=_x0000_i1035 src=\"but40_in.jpg\" width=40');
		document.writeln('><FONT size = 4>Tools</FONT></A><BR><A href=\"mp_capt.htm\">Capture</A><BR><A');
		document.writeln('href=\"mp_gal.htm\">Gallery</A><BR><A');
		document.writeln('href=\"mp_play.htm\">Play</A><BR><A');
		document.writeln('href=\"mp_brws.htm\">Browser</A><BR><A');
		document.writeln('href=\"mp_gmtp.htm\">GameTape</A><BR>');
	}
	else
	{
		document.writeln('<A href=\"mp_tool.htm\"><IMG');
		document.writeln('border=0 height=15 id=_x0000_i1035 src=\"but40_ot.jpg\" width=40');
		document.writeln('><FONT size = 4>Tools</FONT></A><BR>');
	}
	if( 4 == inPageId )
	{
		document.writeln('<A href=\"mp_eng.htm\"><IMG border=0 height=15');
		document.writeln('id=_x0000_i1036 src=\"but40_in.jpg\" width=40><FONT size = 4>Engines</FONT></A');
		document.writeln('><BR><A href=\"mp_bsbl.htm\">Blender</A><BR><A');
		document.writeln('href=\"mp_xtrt.htm\">Extractor</A><BR><A');
		document.writeln('href=\"mp_frez.htm\">Freezer</A><BR>');
	}
	else
	{
		document.writeln('<A href=\"mp_eng.htm\"><IMG border=0 height=15');
		document.writeln('id=_x0000_i1036 src=\"but40_ot.jpg\" width=40><FONT size = 4>Engines</FONT></A');
		document.writeln('><BR>');
	}
	if( 5 == inPageId )
	{
		document.writeln('<A href=\"mp_mtn.htm\"><IMG border=0 height=15 id=_x0000_i1038');
		document.writeln('src=\"but40_in.jpg\" width=40><FONT size = 4>MotionCAD</FONT></A><BR><A');
		document.writeln('href=\"mc_tmpl.htm\">Templates</A><BR><A');
		document.writeln('href=\"mc_stcd.htm\">MotionCAD FS</A><BR><A');
		document.writeln('href=\"mc_drwln.htm\">Drawing Lines</A><BR><A');
		document.writeln('href=\"mc_vidob.htm\">Video Object</A><BR><A');
		document.writeln('href=\"mc_oleob.htm\">OLE Object</A><BR><A');
		document.writeln('href=\"mc_picob.htm\">Picture Object</A><BR><A');
		document.writeln('href=\"mc_genrl.htm\">General</A><BR><A');
		document.writeln('href=\"mc_advc.htm\">Advanced</A><BR><A');
		document.writeln('href=\"mc_catlg.htm\">Catalog</A><BR>');
	}
	else
	{
		document.writeln('<A href=\"mp_mtn.htm\"><IMG border=0 height=15 id=_x0000_i1038');
		document.writeln('src=\"but40_ot.jpg\" width=40><FONT size = 4>MotionCAD</FONT></A><BR>');
	}	
	if( 6 == inPageId )
	{
		document.writeln('<A href=\"mp_mspd.htm\"><IMG border=0 height=15 id=_x0000_i1037');
		document.writeln('src=\"but40_ot.jpg\" width=40><FONT size = 4>MotionSpeed</FONT></A><BR><A');
		document.writeln('href=\"mp_vcal.htm\">Calibration</A><BR><A');
		document.writeln('href=\"mp_mspic.htm\">Pictures</A><BR><A');
		document.writeln('href=\"mp_msgrh.htm\">Graph Options</A><BR><A');
		document.writeln('href=\"mp_msdc.htm\">Digital Camera</A><BR>');
	}
	else
	{
		document.writeln('<A href=\"mp_mspd.htm\"><IMG border=0 height=15 id=_x0000_i1037');
		document.writeln('src=\"but40_ot.jpg\" width=40><FONT size = 4>MotionSpeed</FONT></A></P>');
	}
}// write_sidebar( inPageId )
//-->