/*第一种形式 第二种形式 更换显示样式*/
function setTab(name,cursel,n,s){
  for(i=1;i<=n;i++){
    var menu=document.getElementById(name+i);
    var con=document.getElementById("con_"+name+"_"+i);
    menu.className=i==cursel?"td_hover"+s:"td_"+s;
    con.style.display=i==cursel?"block":"none";
  }
}

function setBaiduShangji() {
	var baidu = window.open("", "在线报名", "height=250,width=220");
	baidu.document.write('<script type="text/javascript" src="http://sfhelp.baidu.com/msg/js/465/557465.js" charset="gb2312"></script>');
	baidu.document.close();
}

function onQueryTheroy(txtTitle) {
    var txtTitleObj = document.getElementById(txtTitle);
    window.open("/customAction.do?method=queryTheroyInfos"
        + "&title="
        + txtTitleObj.value);
}


function setHeadHtml() {
	var str = '';
	str = str +  '<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">';
	str = str +  '	<tr>';
	str = str +  '		<td width="217">';
	str = str +  '		<img src="/images/index_02.jpg" alt="易学堂专业速读记忆培训机构" width="217" height="99" /></td>';
	str = str +  '		<td valign="top">';
	str = str +  '		<table width="683" border="0" cellspacing="0" cellpadding="0">';
	str = str +  '			<tr>';
	str = str +  '				<td width="383" align="left">';
	str = str +  '				<div class="f_red f_bold">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 咨询电话：400-678-1596</div>';
	str = str +  '				</td>';
	str = str +  '				<td width="300">';
	str = str +  '				<ul class="top_m">';
	str = str +  '					<li><a href="/">网站首页</a></li>';
	str = str +  '					<li>';
	str = str +  '					<a title="联系我们" href="/customAction.do?method=showInfo&id=421">';
	str = str +  '					联系我们</a></li>';
	str = str +  '					<li>';
	str = str +  '					<span onclick="var strHref=window.location.href;this.style.behavior=&quot;url(#default#homepage)&quot;;this.setHomePage(&quot;http://www.tangtech.com.cn&quot;);" style="CURSOR: hand">';
	str = str +  '					设为首页</span></li>';
	str = str +  '					<li>';
	str = str +  '					<a title="加入收藏" target="_top" href="javascript:window.external.addFavorite(\'http://www.tangtech.com.cn\',\'易学堂快速阅读训练网\');">';
	str = str +  '					加入收藏</a></li>';
	str = str +  '				</ul>';
	str = str +  '				</td>';
	str = str +  '			</tr>';
	str = str +  '		</table>';
	str = str +  '		<table width="100" border="0" align="center" cellpadding="0" cellspacing="0">';
	str = str +  '			<tr>';
	str = str +  '				<td height="5"></td>';
	str = str +  '			</tr>';
	str = str +  '		</table>';
	str = str +  '		<table width="683" border="0" cellspacing="0" cellpadding="0">';
	str = str +  '			<tr>';
	str = str +  '				<td width="522">';
	str = str +  '				<table width="500" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#eaeaea" bgcolor="#f6f6f6">';
	str = str +  '					<tr>';
	str = str +  '						<td height="70">';
	str = str +  '						<table width="480" border="0" align="center" cellpadding="0" cellspacing="0">';
	str = str +  '							<tr>';
	str = str +  '								<td width="71" align="center" style="font-size:14px; font-weight:700; color:#000;">';
	str = str +  '								全站搜索</td>';
	str = str +  '								<td width="227">';
	str = str +  '								<input name="txtTitle" type="text" id="txtTitle" style="width:220px;" /></td>';
	str = str +  '								<td width="110">';
	str = str +  '								<select name="select" id="select" style="width:100px;">';
	str = str +  '								<option>选择类别</option>';
	str = str +  '								</select> </td>';
	str = str +  '								<td width="72" align="center">';
	str = str +  '								<img src="/images/pic_go.jpg" alt="go" width="63" height="20" style="cursor:hand" onclick="javascript:onQueryTheroy(\'txtTitle\')" /></td>';
	str = str +  '							</tr>';
	str = str +  '							<tr>';
	str = str +  '								<td colspan="4">';
	str = str +  '								<table width="100" border="0" align="center" cellpadding="0" cellspacing="0">';
	str = str +  '									<tr>';
	str = str +  '										<td height="5"></td>';
	str = str +  '									</tr>';
	str = str +  '								</table>';
	str = str +  '								<table width="100%" border="0" cellspacing="0" cellpadding="0">';
	str = str +  '									<tr>';
	str = str +  '										<td align="center">';
	str = str +  '										<div class="tag">';
	str = str +  '											热门标签： ';
	str = str +  '											<a title="冬令营" href="/jsp/training/index.jsp" target="_blank">';
	str = str +  '											冬令营</a>';
	str = str +  '											<a title="快速阅读" href="/customAction.do?method=showInfos&alias=ksyd" target="_blank">';
	str = str +  '											快速阅读</a>';
	str = str +  '											<a title="阅读器下载" href="/customAction.do?method=showInfo&id=402" target="_blank">';
	str = str +  '											阅读器</a>';
	str = str +  '											<a title="舒尔特表下载" href="/customAction.do?method=showInfo&id=401" target="_blank">';
	str = str +  '											舒尔特表</a>';
	str = str +  '											<a title="右脑开发" href="/customAction.do?method=showInfos&alias=qnkf" target="_blank">';
	str = str +  '											右脑开发</a> </div>';
	str = str +  '										</td>';
	str = str +  '									</tr>';
	str = str +  '								</table>';
	str = str +  '								</td>';
	str = str +  '							</tr>';
	str = str +  '						</table>';
	str = str +  '						</td>';
	str = str +  '					</tr>';
	str = str +  '				</table>';
	str = str +  '				</td>';
	str = str +  '				<td width="161">';
	str = str +  '				<table width="140" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#5f5d5e" bgcolor="#bdbdbd">';
	str = str +  '					<tr>';
	str = str +  '						<td height="70" align="center"><a title="全脑速读清明节精品班招生" href="/customAction.do?method=showInfo&id=2976" target="_blank"><img src="/images/uploads/2010030801.gif" alt="全脑速读清明节精品班招生"  height="75" width="140" style="cursor:hand"/></a></td>';
	str = str +  '					</tr>';
	str = str +  '				</table>';
	str = str +  '				</td>';
	str = str +  '			</tr>';
	str = str +  '		</table>';
	str = str +  '		</td>';
	str = str +  '	</tr>';
	str = str +  '</table>';
	str = str +  '<table width="100" border="0" align="center" cellpadding="0" cellspacing="0">';
	str = str +  '	<tr>';
	str = str +  '		<td height="5"></td>';
	str = str +  '	</tr>';
	str = str +  '</table>';
	str = str +  '<table width="900" border="0" align="center" cellpadding="0" cellspacing="0" id="menu" class="f_white">';
	str = str +  '	<tr>';
	str = str +  '		<td height="69" align="center" valign="top" background="/images/index_06.jpg">';
	str = str +  '		<!-- 主菜单 -->';
	str = str +  '		<table width="840" border="0" cellspacing="0" cellpadding="0">';
	str = str +  '			<tr>';
	str = str +  '				<td id="menu_parent1" height="31" align="center"><a href="/jsp/news/index.jsp">新闻中心</a></td>';
	str = str +  '				<td align="center"></td>';
	str = str +  '				<td id="menu_parent2" align="center"><a href="/jsp/product/index.html">产品中心</a></td>';
	str = str +  '				<td align="center"></td>';
	str = str +  '				<td id="menu_parent3" align="center"><a href="/jsp/training/index.jsp">培训课程</a></td>';
	str = str +  '				<td align="center"></td>';
	str = str +  '				<td id="menu_parent4" align="center"><a href="/jsp/testing/index.jsp">师资力量</a></td>';
	str = str +  '				<td align="center"></td>';
	str = str +  '				<td id="menu_parent5" align="center"><a href="/jsp/student/index.jsp">学员中心</a></td>';
	str = str +  '				<td align="center"></td>';
	str = str +  '				<td id="menu_parent6" align="center"><a href="/jsp/download/index.jsp">资源下载</a></td>';
	str = str +  '				<td align="center"></td>';
	str = str +  '				<td id="menu_parent7" align="center"><a href="/jsp/theroy/index.jsp">学习技巧</a></td>';
	str = str +  '				<td align="center"></td>';
	str = str +  '				<td id="menu_parent8" align="center"><a href="/jsp/main/regjoiner.jsp">会员注册</a></td>';
	str = str +  '				<td align="center"></td>';
	str = str +  '				<td id="menu_parent9" align="center"><a href="/jsp/agent/qjfx.html">合作加盟</a></td>';
	str = str +  '			</tr>';
	str = str +  '		</table>';
	str = str +  '		<!-- 子菜单 -->';
	str = str +  '		<table width="840" border="0" cellspacing="0" cellpadding="0" id="menu_child">';
	str = str +  '			<tr>';
	str = str +  '				<td height="31" align="left">';
	str = str +  '				<table border="0" cellpadding="0" cellspacing="0" id="menu_child1">';
	str = str +  '					<tr>';
	str = str +  '						<td width="15"></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=zxdt">最新动态</a></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=ynxw">业内新闻</a></td>';
	str = str +  '					</tr>';
	str = str +  '				</table>';
	str = str +  '				<table border="0" cellpadding="0" cellspacing="0" id="menu_child2">';
	str = str +  '					<tr>';
	str = str +  '						<td width="100"></td>';
	str = str +  '						<td height="25" width="170">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/jsp/product/index.html">易学堂快速阅读训练系统</a></td>';
	str = str +  '						<td height="25" width="100">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/jsp/blockManager/index.html">易学堂阅读器</a></td>';
	str = str +  '						<td height="25" width="80">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=cjwt">常见问题</a></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/jsp/order/order.jsp">在线订购</a></td>';
	str = str +  '					</tr>';
	str = str +  '				</table>';
	str = str +  '				<table border="0" cellpadding="0" cellspacing="0" id="menu_child3">';
	str = str +  '					<tr>';
	str = str +  '						<td width="120"></td>';
	str = str +  '						<td height="25" width="150">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfo&id=2838">全脑速读记忆课程介绍</a></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=gkk">免费公开课</a></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=pxsd">北京培训班</a></td>';
	str = str +  '						<td height="25" width="110">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/jsp/training/xly.html">夏令营 冬令营</a></td>';
	str = str +  '						<td height="25" width="140">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfo&id=2971">一对一定制培训介绍</a></td>';
	str = str +  '					</tr>';
	str = str +  '				</table>';
	str = str +  '				<table border="0" cellpadding="0" cellspacing="0" id="menu_child4">';
	str = str +  '					<tr>';
	str = str +  '						<td width="290"></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/jsp/training/showTeachers.jsp">师资力量</a></td>';
	str = str +  '					</tr>';
	str = str +  '				</table>';
	str = str +  '				<table border="0" cellpadding="0" cellspacing="0" id="menu_child5">';
	str = str +  '					<tr>';
	str = str +  '						<td width="390"></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/jsp/student/index.jsp">学员登录</a></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=mxxy">明星学员</a></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=xxxd">学习心得</a></td>';
	str = str +  '					</tr>';
	str = str +  '				</table>';
	str = str +  '				<table border="0" cellpadding="0" cellspacing="0" id="menu_child7">';
	str = str +  '					<tr>';
	str = str +  '						<td width="250"></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=ksyd">快速阅读</a></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=ksjy">快速记忆</a></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=qnkf">全脑开发</a></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=qnkfll">右脑开发</a></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=qwcs">趣味测试</a></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/jsp/theroy/index.jsp">更多分类</a></td>';
	str = str +  '					</tr>';
	str = str +  '				</table>';
	str = str +  '				<table border="0" cellpadding="0" cellspacing="0" id="menu_child6">';
	str = str +  '					<tr>';
	str = str +  '						<td width="450"></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=rjxz">产品下载</a></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=qtxz">资料下载</a></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=zxyx">在线游戏</a></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/customAction.do?method=showInfos&alias=zxcs">在线测速</a></td>';
	str = str +  '					</tr>';
	str = str +  '				</table>';
	str = str +  '				<table border="0" cellpadding="0" cellspacing="0" id="menu_child8">';
	str = str +  '					<tr>';
	str = str +  '						<td width="670"></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/jsp/main/regjoiner.jsp">免费会员注册';
	str = str +  '						</a></td>';
	str = str +  '					</tr>';
	str = str +  '				</table>';
	str = str +  '				<table border="0" cellpadding="0" cellspacing="0" id="menu_child9">';
	str = str +  '					<tr>';
	str = str +  '						<td width="780"></td>';
	str = str +  '						<td height="25" width="90">';
	str = str +  '						<img height="7" src="/images/arrow1.gif" style="margin-right:5px;" /><a href="/jsp/agent/qjfx.html">合作加盟 ';
	str = str +  '						</a></td>';
	str = str +  '					</tr>';
	str = str +  '				</table>';
	str = str +  '				</td>';
	str = str +  '			</tr>';
	str = str +  '		</table>';
	str = str +  '		</td>';
	str = str +  '	</tr>';
	str = str +  '</table>';
	str = str +  '<table width="100" border="0" align="center" cellpadding="0" cellspacing="0">';
	str = str +  '	<tr>';
	str = str +  '		<td height="5"></td>';
	str = str +  '	</tr>';
	str = str +  '</table>';
	str = str +  '<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">';
	str = str +  '	<tr>';
	str = str +  '		<td height="140" align="left" bgcolor="#dadada">';
//	str = str +  '			<a title="2010年寒假冬令营" target="_blank" href="/jsp/training/xly.html">';
//	str = str +  '		<img border="0" src="/images/banner_2010_dly.gif" width="900" height="136" alt="2010年寒假冬令营"></a>';
	str = str +  '				      <object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" height="100%" width="899" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">';
	str = str +  '					  <param name="movie" value="/images/banner.swf" />';
	str = str +  '					  <param name="quality" value="high" />';
	str = str +  '					  <embed src="/images/main.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="617" height="132">';
	str = str +  '					  </embed>';
	str = str +  '  				  </object>';
	str = str +  '		</td>';
	str = str +  '	</tr>';
	str = str +  '</table>';
	str = str +  '<table width="100" border="0" align="center" cellpadding="0" cellspacing="0">';
	str = str +  '	<tr>';
	str = str +  '		<td height="5"></td>';
	str = str +  '	</tr>';
	str = str +  '</table>';
	document.write(str);
	at_attach("menu_parent1", "menu_child1", "hover", "y", "pointer");
	at_attach("menu_parent2", "menu_child2", "hover", "y", "pointer");
	at_attach("menu_parent3", "menu_child3", "hover", "y", "pointer");
	at_attach("menu_parent4", "menu_child4", "hover", "y", "pointer");
	at_attach("menu_parent5", "menu_child5", "hover", "y", "pointer");
	at_attach("menu_parent6", "menu_child6", "hover", "y", "pointer");
	at_attach("menu_parent7", "menu_child7", "hover", "y", "pointer");
	at_attach("menu_parent8", "menu_child8", "hover", "y", "pointer");
	at_attach("menu_parent9", "menu_child9", "hover", "y", "pointer");
}

function setFootHtml() {
	var str = '';
	str = str +  '<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">';
	str = str +  '	<tr>';
	str = str +  '		<td height="38" align="center" background="/images/bottombg.jpg">';
	str = str +  '		<table width="466" border="0" cellspacing="0" cellpadding="0" id="menu">';
	str = str +  '			<tr>';
	str = str +  '				<td height="31" align="center"><a href="#">网站导航</a></td>';
	str = str +  '				<td align="center"></td>';
	str = str +  '				<td align="center">';
	str = str +  '				<a title="联系我们" href="/customAction.do?method=showInfo&id=421">联系我们</a></td>';
	str = str +  '				<td align="center"></td>';
	str = str +  '				<td align="center">';
	str = str +  '				<a title="联系我们" href="/customAction.do?method=showInfo&id=421">招聘信息</a></td>';
	str = str +  '				<td align="center"></td>';
	str = str +  '				<td align="center">';
	str = str +  '				<a href="javascript:setBaiduShangji()" alt="在线留言">在线留言</a></td>';
	str = str +  '				<td align="center"></td>';
	str = str +  '				<td align="center">';
	str = str +  '				<a title="联系我们" href="/customAction.do?method=showInfo&id=421">合作媒体</a></td>';
	str = str +  '			</tr>';
	str = str +  '		</table>';
	str = str +  '		</td>';
	str = str +  '	</tr>';
	str = str +  '</table>';
	str = str +  '<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">';
	str = str +  '	<tr>';
	str = str +  '		<td align="middle" height="38">';
	str = str +  '		<span style="COLOR: #000000">版权所有 2005-2010 北京大唐盛视科技有限公司 <br />';
	str = str +  '		<a href="http://www.miibeian.gov.cn" target="_blank">';
	str = str +  '		<font color="#000000">京ICP备06026050号</font></a> </span></td>';
	str = str +  '	</tr>';
	str = str +  '</table>';
	document.write(str);
	document.write("<scr"+"ipt language=\"javascript\" src=\"http://www.53kf.com/kf.php?arg=tangtech&style=1&keyword="+escape(document.referrer)+"\"></scr"+"ipt>");
}

function setNavigatorHtml() {
}

function setHotZone() {
	var str = '';
	str = str +  '<iframe  marginheight=0 marginwidth=0 frameborder=0 border=0 vspace=0 noresize scrolling=no name="i1" width="100%" height="650" src="/jsp/info/hotZone1.jsp">';
	str = str +  '浏览器不支持嵌入式框架，或被配置为不显示嵌入式框架。</iframe>';
	document.write(str);
}

function setProductZone() {
	var str = '';
	str = str +  '<table width="100%" border="0" cellpadding="0" cellspacing="0">';
	str = str +  '	<tr>';
	str = str +  '		<td height="35" align="center" background="/images/t-zone-bg.jpg" colspan="2">';
	str = str +  '		<font color="#FFFFFF">产品中心</font> </td>';
	str = str +  '	</tr>';
	str = str +  '	<tr>';
	str = str +  '		<td width="13%" height="30" align="right">';
	str = str +  '		<img src="/images/arrow.gif" width="13" height="11">';
	str = str +  '		</td>';
	str = str +  '		<td><a href="/jsp/product/index.html">易学堂快速阅读训练系统</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr>';
	str = str +  '		<td width="13%" height="30" align="right">';
	str = str +  '		<img src="/images/arrow.gif" width="13" height="11">';
	str = str +  '		</td>';
	str = str +  '		<td><a href="/jsp/blockManager/index.html">易学堂阅读器</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	</table>';
	document.write(str);
}

function setOrderZone() {
	var str = '';
	str = str +  '<table width="100%" border="0" cellpadding="0" cellspacing="0">';
	str = str +  '	<tr>';
	str = str +  '		<td height="35" align="center" background="/images/t-zone-bg.jpg" colspan="2">';
	str = str +  '		<font color="#FFFFFF">在线购买</font> </td>';
	str = str +  '	</tr>';
	str = str +  '	<tr>';
	str = str +  '		<td width="20%" height="30" align="right">';
	str = str +  '		<img src="/images/arrow.gif" width="13" height="11">';
	str = str +  '		</td>';
	str = str +  '		<td><a href="index.html">购买流程</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr>';
	str = str +  '		<td width="20%" height="30" align="right">';
	str = str +  '		<img src="/images/arrow.gif" width="13" height="11">';
	str = str +  '		</td>';
	str = str +  '		<td><a href="store.html">店面购买</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr>';
	str = str +  '		<td width="20%" height="30" align="right">';
	str = str +  '		<img src="/images/arrow.gif" width="13" height="11">';
	str = str +  '		</td>';
	str = str +  '		<td><a href="order.jsp">在线购买</a><img border="0" src="/images/t-hot.gif" align="absmiddle"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr>';
	str = str +  '		<td width="20%" height="30" align="right">';
	str = str +  '		<img src="/images/arrow.gif" width="13" height="11"></td>';
	str = str +  '		<td><a href="remittance.html">联系汇款</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr>';
	str = str +  '		<td width="20%" height="30" align="right">';
	str = str +  '		<img src="/images/arrow.gif" width="13" height="11"></td>';
	str = str +  '		<td><a href="peisong.html">配送方式</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr>';
	str = str +  '		<td width="20%" height="30" align="right">';
	str = str +  '		<img src="/images/arrow.gif" width="13" height="11">';
	str = str +  '		</td>';
	str = str +  '		<td><a href="service.html">售后服务</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	</table>';
	document.write(str);
}

function setStudentZone() {
	var str = '';
	str = str +  '	<tr height="30">';
	str = str +  '		<td width="33" align="center">';
	str = str +  '		<img border="0" src="/images/t-arrow.gif" width="7" height="7"></td>';
	str = str +  '		<td width="160">';
	str = str +  '		<a href="/studentAction.do?method=editStudent">';
	str = str +  '		我的注册信息</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr height="30">';
	str = str +  '		<td width="33" align="center">';
	str = str +  '		<img border="0" src="/images/t-arrow.gif" width="7" height="7"></td>';
	str = str +  '		<td width="160">';
	str = str +  '		<a href="/studentAction.do?method=showScores">';
	str = str +  '		我的考试成绩</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr height="30">';
	str = str +  '		<td width="33" align="center">';
	str = str +  '		<img border="0" src="/images/t-arrow.gif" width="7" height="7"></td>';
	str = str +  '		<td width="160">';
	str = str +  '		<a href="/jsp/student/addBlog.jsp" target="_blank">';
	str = str +  '	        写学习笔记</td>';
	str = str +  '	</tr>';
	str = str +  '	<tr height="30">';
	str = str +  '		<td width="33" align="center">';
	str = str +  '		<img border="0" src="/images/t-arrow.gif" width="7" height="7"></td>';
	str = str +  '		<td width="160">';
	str = str +  '		<a href="/studentBlogAction.do?method=queryBlogsByStudent">';
	str = str +  '	        查看所有学习笔记</td>';
	str = str +  '	</tr>';
	str = str +  '	<tr height="30">';
	str = str +  '		<td width="33" align="center">';
	str = str +  '		<img border="0" src="/images/t-arrow.gif" width="7" height="7"></td>';
	str = str +  '		<td width="160">';
	str = str +  '		<a href="/studentAction.do?method=queryQuestionsByStudent">';
	str = str +  '	        指导服务</td>';
	str = str +  '	</tr>';
	str = str +  '	<tr height="30">';
	str = str +  '		<td width="33" align="center">';
	str = str +  '		<img border="0" src="/images/t-arrow.gif" width="7" height="7"></td>';
	str = str +  '		<td width="160">';
	str = str +  '		<a href="/studentAction.do?method=showMyTeacher">';
	str = str +  '	        我的指导老师</td>';
	str = str +  '	</tr>';
/*	str = str +  '	<tr height="30">';
	str = str +  '		<td width="33" align="center">';
	str = str +  '		<img border="0" src="/images/t-arrow.gif" width="7" height="7"></td>';
	str = str +  '		<td width="160">';
	str = str +  '		<a href="/studentAction.do?method=showServices">';
	str = str +  '	        指导服务</td>';
	str = str +  '	</tr>'; */
	str = str +  '	<tr height="30">';
	str = str +  '		<td width="33" align="center">';
	str = str +  '		<img border="0" src="/images/t-arrow.gif" width="7" height="7"></td>';
	str = str +  '		<td width="160">';
	str = str +  '		<a href="/studentAction.do?method=showSatisfaction">';
	str = str +  '	        服务调查</td>';
	str = str +  '	</tr>';
	str = str +  '	<tr align="left" height="30">';
	str = str +  '		<td align="center" width="33">';
	str = str +  '		<img border="0" src="/images/t-arrow.gif" width="7" height="7"></td>';
	str = str +  '		<td width="160">';
	str = str +  '		<a href="/studentAction.do?method=logoff">退出</a></td>';
	str = str +  '	</tr>';
	document.write(str);
}

function setAgentZone() {
	var str = '';
	str = str +  '	<table width="100%" border="0" cellpadding="0" cellspacing="0">';
	str = str +  '		<tr>';
	str = str +  '			<td height="35" align="center" background="/images/t-zone-bg.jpg" colspan="2">';
	str = str +  '			<font color="#FFFFFF">合作加盟</font> </td>';
	str = str +  '		</tr>';
	str = str +  '	<tr>';
	str = str +  '		<td width="20%" height="30" align="right">';
	str = str +  '		<img src="/images/arrow.gif" width="13" height="11">';
	str = str +  '		</td>';
	str = str +  '		<td><a href="index.html">项目优势</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr>';
	str = str +  '		<td width="20%" height="30" align="right">';
	str = str +  '		<img src="/images/arrow.gif" width="13" height="11">';
	str = str +  '		</td>';
	str = str +  '		<td><a href="xyfx.html">效益分析</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr>';
	str = str +  '		<td width="20%" height="30" align="right">';
	str = str +  '		<img src="/images/arrow.gif" width="13" height="11">';
	str = str +  '		</td>';
	str = str +  '		<td><a href="zbzc.html">总部支持</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr>';
	str = str +  '		<td width="20%" height="30" align="right">';
	str = str +  '		<img src="/images/arrow.gif" width="13" height="11"></td>';
	str = str +  '		<td><a href="support.html">运营支持</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr>';
	str = str +  '		<td width="20%" height="30" align="right">';
	str = str +  '		<img src="/images/arrow.gif" width="13" height="11"></td>';
	str = str +  '		<td><a href="flow.html">申请流程</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr>';
	str = str +  '		<td width="20%" height="30" align="right">';
	str = str +  '		<img src="/images/arrow.gif" width="13" height="11">';
	str = str +  '		</td>';
	str = str +  '		<td><a href="/jsp/agent/registerSaler.jsp">立即申请</a></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	<tr bgcolor="#CCCCCC">';
	str = str +  '		<td height="1" colspan="2" align="right"></td>';
	str = str +  '	</tr>';
	str = str +  '	</table>';
	str = str +  '	<table width="100%" border="0" cellpadding="0" cellspacing="0" height="149">';
	str = str +  '		<tr>';
	str = str +  '			<td height="35" align="center" background="/images/t-zone-bg.jpg" colspan="2">';
	str = str +  '			<font color="#FFFFFF">代理商登陆</font> </td>';
	str = str +  '		</tr>';
	str = str +  '		<tr>';
	str = str +  '			<td align="center">';
	str = str +  '			<table width="190" border="0" align="center" cellpadding="0" cellspacing="4">';
	str = str +  '				<form action="/logonAction.do?method=agentLogon" method="post" name="logonForm">';
	str = str +  '					<tr>';
	str = str +  '						<td width="80" height="26" align="right">';
	str = str +  '						<span class="style1">登录名：</span> </td>';
	str = str +  '						<td width="98">';
	str = str +  '						<input name="userId" type="text" class="kuan_all" size="10" />';
	str = str +  '						</td>';
	str = str +  '					</tr>';
	str = str +  '					<tr>';
	str = str +  '						<td height="26" align="right">';
	str = str +  '						<span class="style1">密&nbsp;&nbsp;码：</span>';
	str = str +  '						</td>';
	str = str +  '						<td>';
	str = str +  '						<input name="pwd" type="password" class="kuan_all" size="10" />';
	str = str +  '						</td>';
	str = str +  '					</tr>';
	str = str +  '					<tr align="left">';
	str = str +  '						<td height="26" colspan="2">';
	str = str +  '						<table width="173" border="0" align="center" cellpadding="0" cellspacing="0">';
	str = str +  '							<tr align="center">';
	str = str +  '								<td width="173" height="26">';
	str = str +  '								<input src="/images/t-logon.gif" name="logonBtn" type="image" id="logonBtn" border="0" onClick="return logon();"/>';
	str = str +  '								<img src="/images/t-help.gif" alt="" border="0" width="56" height="21" /></td>';
	str = str +  '							</tr>';
	str = str +  '						</table>';
	str = str +  '						</td>';
	str = str +  '					</tr>';
	str = str +  '				</form>';
	str = str +  '			</table>';
	str = str +  '			</td>';
	str = str +  '		</tr>';
	str = str +  '		<tr bgcolor="#CCCCCC">';
	str = str +  '			<td height="1" colspan="2" align="right" colspan="2">';
	str = str +  '			</td>';
	str = str +  '		</tr>';
	str = str +  '		<tr bgcolor="#CCCCCC">';
	str = str +  '			<td height="1" colspan="2" align="right" colspan="2">';
	str = str +  '			</td>';
	str = str +  '		</tr>';
	str = str +  '	</table>';
        document.write(str);
}

function logon() {
	var thisform=document.logonForm;
	if(thisform.userId.value.length == 0) {
		alert("学员号不能为空");
		thisform.userId.focus();
	} else if(thisform.pwd.value.length == 0) {
		alert("密码不能为空");
		thisform.pwd.focus();
	} else {
	  thisform.submit();
	}
}

/************************************************************************************************************/
/************************************************************************************************************/
/************************************************************************************************************/
function at_displayss(x)
{
  win = window.open();
  for (var i in x) win.document.write(i+' = '+x[i]+'<br>');
}

// ----- Show Aux -----

function at_show_auxss(parent, child)
{
  var p = document.getElementById(parent);
  var c = document.getElementById(child);

  var top  = (c["at_position"] == "y") ? p.offsetHeight - 3 +5 : 1;
  var left = (c["at_position"] == "x") ? p.offsetWidth +1 : -277;


  for (; p; p = p.offsetParent)
  {
    top  += p.offsetTop;
    left += p.offsetLeft;
    left += p.offsetLeft;
  }

  c.style.position   = "absolute";
  c.style.top        = top +'px';
  c.style.left       = left+'px';
  c.style.visibility = "visible";
}

// ----- Show -----

function at_stshow()
{
  p = document.getElementById(this["at_parent"]);
  c = document.getElementById(this["at_child" ]);

  at_show_auxss(p.id, c.id);

  clearTimeout(c["at_timeout"]);
}

// ----- Hide -----

function at_sthide()
{
  c = document.getElementById(this["at_child"]);

  c["at_timeout"] = setTimeout("document.getElementById('"+c.id+"').style.visibility = 'hidden'", 33);
}

// ----- Click -----

function at_stclick()
{
  p = document.getElementById(this["at_parent"]);
  c = document.getElementById(this["at_child" ]);

  if (c.style.visibility != "visible") at_show_auxss(p.id, c.id);
  else c.style.visibility = "hidden";

  return false;
}

// ----- Attach -----

// PARAMETERS:
// parent   - id of visible html element
// child    - id of invisible html element that will be dropdowned
// showtype - "click" = you should click the parent to show/hide the child
//            "hover" = you should place the mouse over the parent to show
//                      the child
// position - "x" = the child is displayed to the right of the parent
//            "y" = the child is displayed below the parent
// cursor   - Omit to use default cursor or check any CSS manual for possible
//            values of this field

function at_attachtt(parent, child, showtype, position, cursor)
{
  p = document.getElementById(parent);
  c = document.getElementById(child);

  p["at_parent"]     = p.id;
  c["at_parent"]     = p.id;
  p["at_child"]      = c.id;
  c["at_child"]      = c.id;
  p["at_position"]   = position;
  c["at_position"]   = position;

  c.style.position   = "absolute";
  c.style.visibility = "hidden";

  if (cursor != undefined) p.style.cursor = cursor;

  switch (showtype)
  {
    case "click":
      p.onclick     = at_stclick;
      p.onmouseout  = at_sthide;
      c.onmouseover = at_stshow;
      c.onmouseout  = at_sthide;
      break;
    case "hover":
      p.onmouseover = at_stshow;
      p.onmouseout  = at_sthide;
      c.onmouseover = at_stshow;
      c.onmouseout  = at_sthide;
      break;
  }
}
function at_display(x)
{
  win = window.open();
  for (var i in x) win.document.write(i+' = '+x[i]+'<br>');
}

// ----- Show Aux -----

function at_show_aux(parent, child)
{
  var p = document.getElementById(parent);
  var c = document.getElementById(child);

  var top  = (c["at_position"] == "y") ? p.offsetHeight - 3 +5 : 1;
  var left = (c["at_position"] == "x") ? p.offsetWidth +1 : 0;

  for (; p; p = p.offsetParent)
  {
    top  += p.offsetTop;
    left += p.offsetLeft;
  }

  c.style.position   = "absolute";
  c.style.top        = top +'px';
  //c.style.left       = left+'px';
  c.style.visibility = "visible";
}

// ----- Show -----

function at_show()
{
  p = document.getElementById(this["at_parent"]);
  c = document.getElementById(this["at_child" ]);

  at_show_aux(p.id, c.id);

  clearTimeout(c["at_timeout"]);
}

// ----- Hide -----

function at_hide()
{
  c = document.getElementById(this["at_child"]);

  c["at_timeout"] = setTimeout("document.getElementById('"+c.id+"').style.visibility = 'hidden'", 33);
}

// ----- Click -----

function at_click()
{
  p = document.getElementById(this["at_parent"]);
  c = document.getElementById(this["at_child" ]);

  if (c.style.visibility != "visible") at_show_aux(p.id, c.id);
  else c.style.visibility = "hidden";

  return false;
}

// ----- Attach -----

// PARAMETERS:
// parent   - id of visible html element
// child    - id of invisible html element that will be dropdowned
// showtype - "click" = you should click the parent to show/hide the child
//            "hover" = you should place the mouse over the parent to show
//                      the child
// position - "x" = the child is displayed to the right of the parent
//            "y" = the child is displayed below the parent
// cursor   - Omit to use default cursor or check any CSS manual for possible
//            values of this field

function at_attach(parent, child, showtype, position, cursor)
{
  p = document.getElementById(parent);
  c = document.getElementById(child);

  p["at_parent"]     = p.id;
  c["at_parent"]     = p.id;
  p["at_child"]      = c.id;
  c["at_child"]      = c.id;
  p["at_position"]   = position;
  c["at_position"]   = position;

  c.style.position   = "absolute";
  c.style.visibility = "hidden";

  if (cursor != undefined) p.style.cursor = cursor;

  switch (showtype)
  {
    case "click":
      p.onclick     = at_click;
      //p.onmouseout  = at_hide;
      c.onmouseover = at_show;
      //c.onmouseout  = at_hide;
      break;
    case "hover":
      p.onmouseover = at_show;
      p.onmouseout  = at_hide;
      c.onmouseover = at_show;
      c.onmouseout  = at_hide;
      break;
  }
}
