function SetLeft(type,name){
var color;
document.write('<table width="160" border="0">');
document.write('<tr><td>');
document.write('<table width="160" border="0" cellspacing="0" cellpadding="0" height="28">');
document.write('<tr valign="bottom" align="center"> ');
document.write('<td align="center"><b>培训中心</b></td>');
document.write('</tr>');
document.write('</table>');
document.write('<table width="160" border="0" cellspacing="0" cellpadding="0"');
document.write('<tr>');
document.write('<td width="0"></td>');
document.write('<td valign="top" align="left">');
document.write('<table border=0 cellpadding=0 cellspacing=0 width="160"> ');
document.write('<tr><td></td></tr>');
document.write('</table>');
if(name.length!=0)
{
	document.write('<table width="160" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr><td align=center><font color=red size=3>');
	document.write(name+'，您好');
	document.write('</font></td></tr>');
	document.write('</table>');
}
document.write('<table class="flyoutMenu" width="160" border="1" cellspacing="0" cellpadispnewsing="2" cellpadding="2" bordercolordark="#FFFFFF" bordercolorlight="#0F3246">');

document.write('<tr>');
document.write('<td class="flyoutLink" handle="" width="96%" height="20"> <span id=menuitem ');
color="#EAEAEA";
if(type=="scfg") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/train/default.htm"><font class=menuitem>中国期货市场法规</font></a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td class="flyoutLink" handle="" width="96%" height="20"> <span id=menuitem ');
color="#EAEAEA";
if(type=="shfegz") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/train/shfegz.htm"><font class=menuitem>上海期货交易所规则</font></a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td class="flyoutLink" handle="" width="96%" height="20"> <span id=menuitem ');
color="#EAEAEA";
if(type=="dcegz") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/train/dcegz.htm"><font class=menuitem>大连商品交易所规则</font></a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td class="flyoutLink" handle="" width="96%" height="20"> <span id=menuitem ');
color="#EAEAEA";
if(type=="zzcegz") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/train/zzcegz.htm"><font class=menuitem>郑州商品交易所规则</font></a></td>');
document.write('</tr>');
document.write('<tr><td height="3"></td></tr>');
document.write('<tr>');
document.write('<td class="flyoutLink" handle="" width="96%" height="20"> <span id=menuitem ');
color="#EAEAEA";
if(type=="jczs") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/train/jczs.htm"><font class=menuitem>期货基础知识</font></a></td>');
document.write('</tr>');

document.write('<tr>');
document.write('<td class="flyoutLink" handle="" width="96%" height="20"> <span id=menuitem ');
color="#EAEAEA";
if(type=="pzjs_sh") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/train/pzjs_sh.htm"><font class=menuitem>上海交易品种介绍</font></a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td class="flyoutLink" handle="" width="96%" height="20"> <span id=menuitem ');
color="#EAEAEA";
if(type=="pzjs_dl") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/train/pzjs_dl.htm"><font class=menuitem>大连交易品种介绍</font></a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td class="flyoutLink" handle="" width="96%" height="20"> <span id=menuitem ');
color="#EAEAEA";
if(type=="pzjs_zz") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/train/pzjs_zz.htm"><font class=menuitem>郑州交易品种介绍</font></a></td>');
document.write('</tr>');
document.write('<tr><td height="3"></td></tr>');

document.write('<tr>');
document.write('<td class="flyoutLink" handle="" width="96%" height="20"> <span id=menuitem ');
color="#EAEAEA";
if(type=="book") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/train/book.htm"><font class=menuitem>期货书籍推介</font></a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td class="flyoutLink" handle="" width="96%" height="20"> <span id=menuitem ');
color="#EAEAEA";
if(type=="ebook") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/train/ebook.htm"><font class=menuitem>电子书籍下载</font></a></td>');
document.write('</tr>');

document.write('<tr><td height="3"></td></tr>');

document.write('<tr>');
document.write('<td class="flyoutLink" handle="" width="96%" height="20"> <span id=menuitem ');
color="#EAEAEA";
if(type=="d_mail") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/train/d_mail.htm"><font class=menuitem>问题解答</font></a></td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');
document.write('</td></tr>');
document.write('<tr><td>');
document.write('<table width="75%" border="0" cellspacing="0" cellpadding="1" align="center">');
document.write('<tr><td align="right">培训中心电话:</td></tr>');
document.write('<tr><td align="right">(755)83506953</td></tr>');
document.write('</table>');
document.write('</td></tr>');
document.write('</table>');
}