var exstockname='无限股票';
function winwidth()
{
	var obj=document.getElementById("Ex")
	obj.style.width="70%";
}
function stockshow(i)
{
	document.getElementById("stocklading").innerHTML='<table class=a2 width='+assignwidth+' cellspacing=1 cellpadding=3 align=center border=0><tr align=center height=25 class=a1><td>正在读取数据，请稍侯……</td></tr></table>';
	if (i==0){return false;}
	document.getElementById("stockuserlading").innerHTML='<table class=a2 width='+assignwidth+' cellspacing=1 cellpadding=3 align=center border=0><br><tr align=center height=25 class=a1><td>正在读取数据，请稍侯……</td></tr></table>';
}
function ex_index_top()
{
	document.write ('<table class=a2 width='+assignwidth+' cellspacing=1 cellpadding=1 align=center border=0>');
	document.write ('<tr height=25 align=center><td class=a1>-=> 欢 迎 光 临 - '+exstockname+' - <=-<a name="TopEx"></a></td></tr>');
	document.write ('<tr class=a4><td>');
	document.write ('<table cellspacing=0 cellpadding=1 align=center border=0 width="100%">');
	document.write ('<tr><td valign=center width="28%">&nbsp;&nbsp;<font color=#333399> </font><span id="TimeCzIe"></span></td>');
	document.write ('<td width="44%" height=30 align=center><span id="Announc"><layer id="AnnouncNs"></layer></span></td>');
	document.write ('<form method=post name=myform action=Exsm_Plus_search.asp>');
	document.write ('<td align=right width="28%"> 股票搜索：<input type=text name=keyword size=9 value="" maxlength=30 style="color:#333333;font-size: 9pt">&nbsp;<input type=submit name=Submit2 value="搜索">&nbsp;&nbsp;</td>');
	document.write ('</form>');
	document.write ('</tr>');
	document.write ('</table>');
	document.write ('</td></tr>');
	document.write ('</table>');
	document.write ('<br>');
}
function ex_index_menu()
{
	document.write ('<table class=a2 width='+assignwidth+' cellspacing=1 cellpadding=3 align=center border=0>');
	document.write ('<tr><td align=left height=25 class=a4>');
	if (exstockadminmenu)
	{
		document.write ('&nbsp;<a href="Exsm_Plus_Gupiao.asp">'+exstockname+'</a>');
		document.write (' | <a href="Exsm_Plus_Admin_Setting.asp">基本设置</a>');
		document.write (' | <a href="Exsm_Plus_Admin_Intervene.asp">社区干预</a>');
		document.write (' | <a href="Exsm_Plus_Admin_Gupiao.asp" onmouseover="cziemenu(event,\'<div><a href=Exsm_Plus_Admin_Gupiao.asp>股票管理</a></div><div><a href=Exsm_Plus_Admin_Gupiao.asp?action=NewStock>新股上市</a></div>\',\'\',0)">股票管理</a>');
		document.write (' | <a href="Exsm_Plus_Admin_User.asp?action=UserList" onmouseover="cziemenu(event,\'<div><a href=Exsm_Plus_Admin_User.asp?action=UserList>客户管理</a></div><div><a href=Exsm_Plus_Admin_User.asp>奖励管理</a></div>\',\'\',0)">客户管理</a>');
		document.write (' | <a href="Exsm_Plus_Admin_Announcements.asp" onmouseover="cziemenu(event,\'<div><a href=Exsm_Plus_Admin_Announcements.asp>浏览公告</a></div><div><a href=Exsm_Plus_Admin_Announcements.asp?action=glance1>浏览新闻</a></div><div><a href=Exsm_Plus_Admin_Announcements.asp?action=AddAnn1>发布公告</a></div><div><a href=Exsm_Plus_Admin_Announcements.asp?action=AddAnn>发布新闻</a></div><div><a href=Exsm_Plus_Admin_Announcements.asp?action=EditAnn1>管理公告</a></div><div><a href=Exsm_Plus_Admin_Announcements.asp?action=EditAnn>管理新闻</a></div>\',\'\',0)">公告管理</a>');
		document.write (' | <a href="Exsm_Plus_Admin_log.asp" onmouseover="cziemenu(event,\'<div><a href=Exsm_Plus_Admin_log.asp?action=Anlog>公新操作</a></div><div><a href=Exsm_Plus_Admin_log.asp?action=Stlog>股票操作</a></div><div><a href=Exsm_Plus_Admin_log.asp?action=Uslog>用户操作</a></div><div><a href=Exsm_Plus_Admin_log.asp?action=Prlog>资金流向</a></div><div><a href=Exsm_Plus_Admin_log.asp?action=Ellog>其它操作</a></div><div><a href=Exsm_Plus_Admin_log.asp?action=Ellog>数据库操作</a></div>\',\'\',0)">日志管理</a>');
		document.write (' | <a href="Exsm_Plus_Admin_Data.asp">数据库管理</a>');
		document.write (' | <a href=javascript:history.go(-1)>返回上一页</a>');
	}
	else
	{
		if (exstockuser)
		{
			exstockuser='<a href="Exsm_Plus_Mymanage.asp" onmouseover="cziemenu(event,\'<div><a href=Exsm_Plus_Mymanage.asp>帐户管理</a></div><div><a href=Exsm_Plus_Mymanage.asp?action=Userinfo>帐户设置</a></div>\',\'\',0)">帐户管理</a>';
		}
		else
		{
			exstockuser='<Font color="#FF0000">开户</Font>';
		}
		document.write ('&nbsp;<a href="Exsm_Plus_Gupiao.asp">'+exstockname+'</a>');
		document.write (' | <a href="Exsm_Plus_Help.asp">股市帮助</a>');
		document.write (' | <a href="Exsm_Plus_Mymanage.asp">'+exstockuser+'</a>');
		document.write (' | <a href="Exsm_Plus_EachStock.asp">个股上市</a>');
		document.write (' | <a href="Exsm_Plus_TopUser.asp">详细排名</a>');
		document.write (' | <a href="index.asp">返回论坛</a>');
		document.write (' | <a href=javascript:history.go(-1)>返回上一页</a>');
	}
	document.write ('</td></tr>');
	document.write ('</table><br>');
}