<!--
/**
 * 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("Home","location='index.htm'");
   fw_menu_0.addMenuItem("MotionCoach FLeX","location='cp_flex.htm'");
   fw_menu_0.addMenuItem("Sports Education","location='cp_use.htm'");
   fw_menu_0.addMenuItem("Visual Instruction","location='cp_prob.htm'");
   fw_menu_0.addMenuItem("Visual Communication","location='cp_mtn.htm'");
   fw_menu_0.addMenuItem("Live Video Instruction","location='cp_livvd.htm'");
   fw_menu_0.addMenuItem("Network Solution","location='cp_mcpro.htm'");
   fw_menu_0.addMenuItem("Product support","location='cp_suprt.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("Feature List","location='cp_ftr.htm'");
   fw_menu_1.addMenuItem("Uses","location='cp_use.htm'");
   fw_menu_1.addMenuItem("Video Effects","location='cp_bsbl.htm'");
   fw_menu_1.addMenuItem("Easy JustDraw","location='cp_dlns.htm'");
   fw_menu_1.addMenuItem("Live Video Instruction","location='cp_livvd.htm'");
   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("News","location='news.htm'");
   fw_menu_2.addMenuItem("Event","location='events.htm'");
   fw_menu_2.addMenuItem("New Technology","location='newtech.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("Computers","location='hw_comp.htm'");
   fw_menu_3.addMenuItem("Cameras","location='hw_cam.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("About us","location='in_abus.htm'");
   fw_menu_4.addMenuItem("Comments","location='ctctform.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("Company News","location='http://mediavention.com/news.htm'");
   fw_menu_5.addMenuItem("Featured Pros","location='http://mediavention.com/pros.htm'");
   fw_menu_5.addMenuItem("Monthly Feature","location='in_useomonth.htm'");
   fw_menu_5.fontWeight="bold";
   fw_menu_5.hideOnMouseOut=true;
   fw_menu_5.writeMenus();
  
} // fwLoadMenus()

/**
 * Write the menu text, this saves copying menu formating
 */
function writemenuhtml()
{
  document.writeln('<td rowSpan=2 bgColor=white width=180px><p><IMG id=_x0000_i1025 style=\"WIDTH: 170px; HEIGHT: 60px\" width=170 height=60 src=\"logo.jpg\" ></p>');
  document.writeln('</td><td bgColor=white vAlign=top><p>');
  document.writeln('<A href=\"index.htm\" id=HOME name=HOME onmouseover=\"window.FW_showMenu(window.fw_menu_0,200,20); changeImages(\'HOME_IMG\', \'bt_app_d.gif\'); return true;\" onmouseout=\"changeImages(\'HOME_IMG\', \'bt_app_u.gif\');FW_startTimeout(); return true;\"><IMG border=0');
  document.writeln('id=HOME_IMG name=HOME_IMG alt=\"Home page of MotionCoach help\" src=\"bt_app_u.gif\" ></a><A href=\"cp_ftr.htm\"');
  document.writeln('id=USE name=USE onmouseover=\"window.FW_showMenu(window.fw_menu_1,294,20); changeImages(\'USE_IMG\', \'bt_cmp_d.gif\'); return true;\" onmouseout=\"changeImages(\'USE_IMG\', \'bt_cmp_u.gif\'); FW_startTimeout(); return true;\"');
  document.writeln('><IMG border=0 id=USE_IMG name=USE_IMG src=\"bt_cmp_u.gif\" ');
  document.writeln('></A><A href=\"news.htm\" id=TOOL name=TOOL onmouseout=\"changeImages(\'TOOL_IMG\', \'bt_new_u.gif\'); FW_startTimeout();return true;\" onmouseover=\"window.FW_showMenu(window.fw_menu_2,390,20);changeImages(\'TOOL_IMG\', \'bt_new_d.gif\'); return true;\"');
  document.writeln('><IMG border=0 id=TOOL_IMG name=TOOL_IMG src=\"bt_new_u.gif\"');
  document.writeln('></A><A href=\"hw_cam.htm\" id=ENG name=ENG onmouseout=\"changeImages(\'ENG_IMG\', \'bt_hwd_u.gif\'); FW_startTimeout(); return true;\" onmouseover=\"window.FW_showMenu(window.fw_menu_3,490,20); changeImages(\'ENG_IMG\', \'bt_hwd_d.gif\'); return true;\"');
  document.writeln('><IMG border=0 id=ENG_IMG name=ENG_IMG src=\"bt_hwd_u.gif\"');
  document.writeln('></A><A href=\"ctctform.htm\" id=MCAD name=MCAD onmouseout=\"changeImages(\'MCAD_IMG\', \'bt_cnt_u.gif\'); FW_startTimeout(); return true;\" onmouseover=\"window.FW_showMenu(window.fw_menu_4,560,20); changeImages(\'MCAD_IMG\', \'bt_cnt_d.gif\'); return true;\"');	
  document.writeln('><IMG border=0 id=MCAD_IMG name=MCAD_IMG src=\"bt_cnt_u.gif\"');
  document.writeln('></A></p></td><tr>');
} // writemenuhtml()

/**
 * Write a standard e-mail message
 */
function writemail_copyrite( inPageId )
{
  document.writeln('<p><span style=\"FONT-FAMILY: Arial; FONT-SIZE: 7.5pt\">Copyright @2005 MotionCoach All rights reserved<BR');
  document.writeln('><A href=\"ctctform.htm">Click here! Get complete information sent directly to you ...</a><BR></span</p>');
//  document.writeln('><a href=\"http://mediavention.com\"><IMG height=16 src=\"../mp_mv.gif\" width=150 border=0></a>');
}// writemail_copyrite( inPageId )


/**
 * Write the side bar html
 */
function write_sidebar( inPageId )
{
	if( 1 == inPageId )
	{
		document.writeln('<P><A href=\"mp_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_home.htm\">@Home Swing Analyzer</A><BR><A'); 
		document.writeln('href=\"in_glr.htm\">GLR Handicap<BR></A><A'); 
		document.writeln('href=\"in_comp.htm\">Who is best?</A><BR><A'); 
		document.writeln('href=\"in_req.htm\">Hardware<BR></A><A');
		document.writeln('href=\"in_suprt.htm\">Support<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=\"mp_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=\"mp_use.htm#sidebyside\">Side by Side</A><BR><A');
		document.writeln('href=\"mp_use.htm#swingplane\">Swing Plane</A><BR><A');
		document.writeln('href=\"mp_use.htm#balllaunch\">Launch Angle</A><BR><A');
		document.writeln('href=\"mp_use.htm#address\">Address</A><BR><A');
		document.writeln('href=\"mp_use.htm#weight\">Weight</A><BR><A');
		document.writeln('href=\"mp_use.htm#SpineAngle\">Spine Angle</A><BR><A');
		document.writeln('href=\"mp_use.htm#selfcompare\">Self Compare</A><BR><A');
		document.writeln('href=\"mp_use.htm#motion\">Motion Compare</A><BR><A');
		document.writeln('href=\"mp_use.htm#selfmonitor\">Self Monitor</A><BR><A'); 
		document.writeln('href=\"mp_use.htm#swingsequence\">Swing Sequence</A><BR>');
	}
	else
	{
		document.writeln('<A href=\"mp_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 )
//-->