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=="jbzs") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/market/KLine.asp"><font class=menuitem>K线分析</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=="kqtl") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/market/code_cp.asp"><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=="kstl") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/market/realtime.asp"><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=="ksptl") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/market/code_cp.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=="zlhb") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/market/she_lme.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=="jstl") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/market/lmestock.asp"><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=="rly") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/market/his_list.asp"><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=="sshq") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/market/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=="sdtl") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/market/cc/"><font class=menuitem>持仓汇总</font></a></td>');
document.write('</tr>');
document.write('<tr><td height="20"></td></tr>');
document.write('<tr>');
document.write('<td align="left" height="20">');
document.write('&nbsp;<a href="/bbs"><font class=menuitem><img src=/images/bbs.gif border=0> 进入期货论坛</font></a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td align="left" height="20">');
document.write('&nbsp;<a href="javascript:top.redirect(4021);"><img src=/images/chat.gif border=0><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)83753914</td></tr>');
document.write('</table>');
document.write('</td></tr>');
document.write('</table>');
}
