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="/tl/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=="kqtl") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/tl/kqtl.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=="kstl") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/tl/kstl.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=="ksptl") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/tl/ksptl.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="/tl/zlhb.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="/tl/dispSub.asp?sub=21"><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="/tl/dispSub.asp?sub=24"><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=="ncptl") color="#ff0000";
document.write('style="FONT-FAMILY: webdings; FONT-SIZE: 18px; LINE-HEIGHT: 18px; color='+color+'">4</span><a href="/tl/dispSub.asp?sub=22"><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="News6.asp?Class=6&CodeID=0&ClassID=41"><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)83506953</td></tr>');
document.write('</table>');
document.write('</td></tr>');
document.write('</table>');
}
function redirect(port)
{
	var focusok=false;
	if (navigator.appName=="Netscape")
		focusok=true;
	vers=navigator.appVersion;
	if (navigator.appName == "Microsoft Internet Explorer")
	{
		pos=vers.lastIndexOf('.');
		vers=vers.substring(pos-1,vers.length);
	}
	proper_version=parseFloat(vers);
	if(proper_version>=5)
		focusok=true;
	var chat=window.open("/bbs/chatnew/mainframe1.asp","chat","top=0,left=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=790,height=530");
	if(focusok)
	chat.focus();
}