//document.write('		  <tr> ');
//document.write('			<td height="102" align="left" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="778" height="102">');
//document.write('				<param name="movie" value="/images/top1.swf">');
//document.write('				<param name="quality" value="high">');
//document.write('				<embed src="/images/top1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="778" height="102"></embed></object></td>');
//document.write('		  </tr>');
//document.write('		  <tr> ');
//document.write('			<td height="4" align="left" valign="top"><img src="/images/spacer.gif" width="100" height="4"></td>');
//document.write('		  </tr>');

if(mUserType=="0"){//匿名用户
	document.write('		  <tr> ');
	document.write('			<td align="center" valign="top"><table width="778" border="0" cellpadding="0" cellspacing="0" >');
	document.write('				<tr align="left" valign="top"> ');
	document.write('				  <td height="2" colspan="3" bgcolor="#ffffff"><table width="100%" height="2" border="0" cellpadding="0" cellspacing="0">');
	document.write('					  <tr align="left" valign="top"> ');
	document.write('						<td><img src="/images/menu_bg1_l1.gif" width="5" height="2"></td>');
	document.write('						<td align="right"><img src="/images/menu_bg1_r1.gif" width="5" height="2"></td>');
	document.write('					  </tr>');
	document.write('					</table></td>');
	document.write('				</tr>');
	document.write('				<tr align="left" valign="top"> ');
	document.write('				  <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('					  <tr> ');
//  document.write('						<td width="2" background="/images/menu_bg1_lef.gif"><img src="/images/spacer.gif" width="2" height="40"></td>');
	document.write('						<td align="center" bgcolor="#E2F2FF"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('							<tr align="center" bgcolor="#9EBBFB"> ');
	document.write('							  <td height="1"></td>');
	document.write('							</tr>');
	document.write('							<tr align="center"> ');
	document.write('							  <td height="20"><table id="aa" width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('								  <tr align="center"> ');
	document.write('									<td width="68" height="20"><a href="../home.jsp" class="menu2">首页</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');	
	document.write('									<td width="68" height="20"><a href="../associntro/index.jsp" class="menu2" >协会简介</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../memberintro/index.jsp" class="menu2">会员介绍</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index1.jsp?channelid=2" class="menu2">法律法规</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=17" class="menu2">监管信息</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=15" class="menu2">协会信息</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=3" class="menu2">行业时讯</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=18" class="menu2">会员动态</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=19" class="menu2">热点分析</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../productinfo/index.jsp" class="menu2">产品介绍</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=20" class="menu2">保险案例</a></td>');	
	document.write('								  </tr>');
	document.write('								</table></td>');
	document.write('							</tr>');
	document.write('							<tr align="center" bgcolor="#AACBF9"> ');
	document.write('							  <td height="1"></td>');
	document.write('							</tr>');
	document.write('							<tr align="center" bgcolor="#ffffff"> ');
	document.write('							  <td height="1"></td>');
	document.write('							</tr>');
	document.write('							<tr align="center"> ');
	document.write('							  <td height="20" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('								  <tr align="center" valign="bottom"> ');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=21" class="menu2">保险常识</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=22" class="menu2">投保指南</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=23" class="menu2">索赔须知</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../glorynotice/index.jsp" class="menu2">荣誉榜</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="javascript:queryBroker();" class="menu2">代理人查询</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=24" class="menu2">保险研究</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../humanresource/index.jsp" class="menu2">人才招聘</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../friendlink/index.jsp" class="menu2">友情链接</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=25" class="menu2">保险中介</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index1.jsp?channelid=26" class="menu2">保险医疗</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=27" class="menu2">营销社区</a></td>');	
	document.write('								  </tr>');
	document.write('								</table></td>');
	document.write('							</tr>');
	document.write('							<tr align="center" bgcolor="#9EBBFB"> ');
	document.write('							  <td height="1"></td>');
	document.write('							</tr>');
	document.write('						  </table></td>');
//	document.write('						<td width="2" bgcolor="#ffffff"><img src="/images/spacer.gif" width="2" height="50"></td>');
	document.write('					  </tr>');
	document.write('					</table></td>');
	document.write('				</tr>');
	document.write('				<tr align="left" valign="top"> ');
	document.write('				  <td colspan="3" valign="top" bgcolor="#ffffff"><table width="100%" height="2" border="0" cellpadding="0" cellspacing="0">');
	document.write('					  <tr align="left" valign="top"> ');
	document.write('						<td><img src="/images/menu_bg1_l2.gif" width="5" height="2"></td>');
	document.write('						<td align="right"><img src="/images/menu_bg1_r2.gif" width="5" height="2"></td>');
	document.write('					  </tr>');
	document.write('					</table></td>');
	document.write('				</tr>');
	document.write('			  </table></td>');
	document.write('		  </tr>');
	document.write('		  <tr> ');
	document.write('			<td height="1" ></td>');
	document.write('		  </tr>');
}
else if(mUserType=="1"){//会员用户
	document.write('		  <tr> ');
	document.write('			<td align="center" valign="top"><table width="778" border="0" cellpadding="0" cellspacing="0" >');
	document.write('				<tr align="left" valign="top"> ');
	document.write('				  <td height="2" colspan="3" bgcolor="#ffffff"><table width="100%" height="2" border="0" cellpadding="0" cellspacing="0">');
	document.write('					  <tr align="left" valign="top"> ');
	document.write('						<td><img src="/images/menu_bg1_l1.gif" width="5" height="2"></td>');
	document.write('						<td align="right"><img src="/images/menu_bg1_r1.gif" width="5" height="2"></td>');
	document.write('					  </tr>');
	document.write('					</table></td>');
	document.write('				</tr>');
	document.write('				<tr align="left" valign="top"> ');
	document.write('				  <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('					  <tr> ');
//	document.write('						<td width="2" bgcolor="#ffffff"><img src="/images/spacer.gif" width="2" height="60"></td>');
	document.write('						<td align="center" bgcolor="#E2F2FF"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('							<tr align="center" bgcolor="#9EBBFB"> ');
	document.write('							  <td height="1"></td>');
	document.write('							</tr>');
	document.write('							<tr align="center"> ');
	document.write('							  <td height="20"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('								  <tr align="center"> ');
	document.write('									<td width="68" height="20"><a href="../home.jsp" class="menu2">首页</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');	
	document.write('									<td width="68" height="20"><a href="../associntro/index.jsp" class="menu2" >协会简介</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../memberintro/index.jsp" class="menu2">会员介绍</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index1.jsp?channelid=2" class="menu2">法律法规</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=17" class="menu2">监管信息</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=15" class="menu2">协会信息</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=3" class="menu2">行业时讯</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=18" class="menu2">会员动态</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=19" class="menu2">热点分析</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../productinfo/index.jsp" class="menu2">产品介绍</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=20" class="menu2">保险案例</a></td>');
	document.write('								  </tr>');
	document.write('								</table></td>');
	document.write('							</tr>');
	document.write('							<tr align="center" bgcolor="#E2F2FF"> ');
	document.write('							  <td height="1"></td>');
	document.write('							</tr>');
	document.write('							<tr align="center"> ');
	document.write('							  <td height="20" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('								  <tr align="center"> ');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=21" class="menu2">保险常识</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=22" class="menu2">投保指南</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=23" class="menu2">索赔须知</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../glorynotice/index.jsp" class="menu2">荣誉榜</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="javascript:queryBroker();" class="menu2">代理人查询</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=24" class="menu2">保险研究</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../humanresource/index.jsp" class="menu2">人才招聘</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../friendlink/index.jsp" class="menu2">友情链接</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=25" class="menu2">保险中介</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index1.jsp?channelid=26" class="menu2">保险医疗</a></td>');
	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="68" height="20"><a href="../article/index.jsp?channelid=27" class="menu2">营销社区</a></td>');
	document.write('								  </tr>');
	document.write('								</table></td>');
	document.write('							</tr>');
	document.write('							<tr align="center" bgcolor="#9EBBFB"> ');
	document.write('							  <td height="1"></td>');
	document.write('							</tr>');
	document.write('							<tr align="center" bgcolor="#ffffff"> ');
	document.write('							  <td height="2"></td>');
	document.write('							</tr>');
	document.write('							<tr align="center" bgcolor="#F2FAFA"> ');
	document.write('							  <td height="20"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('								  <tr align="center"  valign="bottom"> ');
//	document.write('									<td width="107" height="20"><a href="../article/index.jsp?channelid=31" class="menu2"><font color="#233771">保监局文件</font></a></td>');
//	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="125" height="20"><a href="../article/index.jsp?channelid=5" class="menu2"><font color="#233771">行业自律</font></a></td>');
//	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="125" height="20"><a href="../article/index.jsp?channelid=8" class="menu2"><font color="#233771">行业数据</font></a></td>');
//	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="125" height="20"><a href="../article/index1.jsp?channelid=28" class="menu2"><font color="#233771">协会文件</font></a></td>');
//	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="125" height="20"><a href="../article/index.jsp?channelid=29" class="menu2"><font color="#233771">协会大事记</font></a></td>');
//	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="125" height="20"><a href="http://www.iaqd.org.cn:8001/ui/indexqia.jsp" class="menu2"><font color="#233771">车险共享平台</font></a></td>');
//	document.write('									<td width="1"  height="20"><font color="#000000">|</font></td>');
	document.write('									<td width="125" height="20"><a class="menu2" onclick="checkUserAuthorize()" style="cursor:hand"><font color="#233771">后台管理系统</font></a></td>');
	document.write('							      </tr>');
	document.write('								</table></td>');
	document.write('							</tr>');
	document.write('							<tr align="center" bgcolor="#9EBBFB"> ');
	document.write('							  <td height="1"></td>');
	document.write('							</tr>');
	document.write('						  </table></td>');
//	document.write('						<td width="2" bgcolor="#ffffff"><img src="/images/spacer.gif" width="2" height="50"></td>');
	document.write('					  </tr>');
	document.write('					</table></td>');
	document.write('				</tr>');
	document.write('				<tr align="left" valign="top"> ');
	document.write('				  <td colspan="3" valign="top" bgcolor="#ffffff"><table width="100%" height="2" border="0" cellpadding="0" cellspacing="0">');
	document.write('					  <tr align="left" valign="top"> ');
	document.write('						<td><img src="/images/menu_bg1_l2.gif" width="5" height="2"></td>');
	document.write('						<td align="right"><img src="/images/menu_bg1_r2.gif" width="5" height="2"></td>');
	document.write('					  </tr>');
	document.write('					</table></td>');
	document.write('				</tr>');
	document.write('			  </table></td>');
	document.write('		  </tr>');
	document.write('		  <tr> ');
	document.write('			<td height="1" ></td>');
	document.write('		  </tr>');	
}

function queryBroker(){
	var strWidth  = screen.width-screen.width*0.2;
	var strHeight = screen.height-screen.height*0.3;
	var strTop = screen.height*0.1;
	var strLeft = screen.width*0.1;
	
	strWidth = 690;
	strHeight = 254;
	
	var newWindow = window.open('../agentquery/index.jsp','代理人查询','width='+strWidth+',height='+strHeight+',top='+strTop+',left='+strLeft+',toolbar=0,location=0,directories=0,menubar=0,scrollbars=0,resizable=0,status=0');
	newWindow.focus();	
}

function checkUserAuthorize()
{
	if(mUserAuthorize=="01")
	{
	    alert("您的权限不够，不能进入后台管理！");
	    return false;
	}
    else{
		window.location.href = "../../cms/indexcms.jsp";
	}
}