﻿function Item_HTML(tName, tURL, tbg, tfontcolor, tonclick){
	document.write("<tr>");
	document.write("    <td background=\""+tbg+"\" valign=\"middle\" width=\"176\" height=\"27\">&nbsp;");
	document.write("        <span style=\"font-weight: 700; font-size: 13pt; width=100pt;\"><p align=\"center\">");
	if (tURL != "")
		if (tonclick != "")
			document.write("        <a href=\""+tURL+"\" onclick=\"" + tonclick + "\"><font color=\""+tfontcolor+"\">"+tName+"</font></a></p></span></td>");
		else
			document.write("        <a href=\""+tURL+"\"><font color=\""+tfontcolor+"\">"+tName+"</font></a></p></span></td>");
	else
		document.write("        <font color=\""+tfontcolor+"\">"+tName+"</font></p></span></td>");
	document.write("    <td>&nbsp;</td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td height=\"9\"></td><td></td>"); 
	document.write("</tr>");
}

function v_Menu_HTML(tbg, tfontcolor, tParentPath){
	Item_HTML("简&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;介", tParentPath + "KGC homepage_ch.htm"     ,tbg,tfontcolor,       "");
	Item_HTML("测试结果",                                                     tParentPath + "KGOL/KGOL_results-ch.htm",tbg,tfontcolor,       "");
	Item_HTML("评&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;价", tParentPath + "KGOL/KGOL_testimonials-ch.htm" ,tbg,tfontcolor, "");
	Item_HTML("新&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;闻", tParentPath + "KGOL/KGOL_press-ch.htm"        ,tbg,tfontcolor, "");
	Item_HTML("费用&amp;注册说明",                                              tParentPath + "KGOL/KGOL_free-ch.htm"   ,tbg,tfontcolor,       "");
	Item_HTML("演&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;示", "#"                                     ,tbg,tfontcolor,       "return DemoSubmit();");
	Item_HTML("常见问题",                                                     tParentPath + "KGOL/KGOL_faq-ch.htm"    ,tbg,tfontcolor,       "");
}