<%@ page language="java" import="java.util.*,com.letousky.lottery.util.InsiderCenterFormat,com.letousky.lottery.action.LoginAction,com.anylotto.client.MD5Util" pageEncoding="UTF-8"%>
<%
	InsiderCenterFormat ide = new InsiderCenterFormat();
	String lotteryName = ide.getLotteryTypeName(request.getParameter("gameid"),request.getParameter("type"));
	String[] userAry=(String[])session.getAttribute("userAry");
	String uc_user = (String)session.getAttribute("uc_user");
	String uc_userout = (String)session.getAttribute("uc_userout");
	String password = "--" , key = "--" , un = "--" , keyout = "--";
	if(userAry!=null){
		new LoginAction().upLogin(request,response);
		userAry=(String[])session.getAttribute("userAry");
		if(uc_user!=null && !"".equals(uc_user)){
				out.print(uc_user);
		}
	}else{
		if(uc_userout!=null && !"".equals(uc_userout)){
			out.print(uc_userout);
			session.setAttribute("uc_userout",null);
		}
	}
	String rootUrl=request.getContextPath();
%>
	<link href="<%=request.getContextPath()%>/letoula/css/top.css" rel="stylesheet" type="text/css" />
    <link href="<%=request.getContextPath()%>/css/jingcai.css" rel="stylesheet" type="text/css" />
    <link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css" />
     <SCRIPT type=text/javascript src="<%=request.getContextPath()%>/js/jquery.min.js"></SCRIPT>
<SCRIPT type=text/javascript src="<%=request.getContextPath()%>/js/menu-js.js"></SCRIPT>
	<script type='text/javascript' src='<%=request.getContextPath()%>/letoula/js/plugin/library.js'></script>
	<script type='text/javascript'>
		var url = '<%=request.getContextPath()%>';
	</script>
	<script type="text/javascript">
$(document).ready(function(){

	$("#leftsead a").hover(function(){
		if($(this).prop("className")=="youhui"){
			$(this).children("img.hides").show();
		}else{
			$(this).children("img.hides").show();
			$(this).children("img.shows").hide();
			$(this).children("img.hides").animate({marginRight:'0px'},'slow'); 
		}
	},function(){ 
		if($(this).prop("className")=="youhui"){
			$(this).children("img.hides").hide('slow');
		}else{
			$(this).children("img.hides").animate({marginRight:'-143px'},'slow',function(){$(this).hide();$(this).next("img.shows").show();});
		}
	});

	$("#top_btn").click(function(){if(scroll=="off") return;$("html,body").animate({scrollTop: 0}, 600);});

});
</script>
        <div class="header">
	<div class="h_bg">
        <div class="h_main">

			<div class="stit">
            	<a href="<%=request.getContextPath()%>/"><img style="width:150px; height:70px;margin-left:50px;" src="<%=request.getContextPath()%>/images/logo.jpg" /></a>
                <h1>彩票品牌   竞技之家</h1>
            </div>
        	<div class="home">
            	<p style="text-align:right;"><b style="color:red; padding-right:20px;">测试版···</b><a href="<%=request.getContextPath()%>/letoula/help/1.jsp" class="online_kf">客服在线</a><a class="online_help" href="<%=request.getContextPath()%>/letoula/help/1.jsp">新手指南</a></p>
                 <div id="home_tr">  
                   <span class='userMsg' id='userMsg'>
	      			<%if(userAry!=null){%>
	      			
	      			欢迎您，<a style="color:blue;padding-right:10px;" href="<%=request.getContextPath()%>/letoula/user/userCenter.jsp"><%=userAry[2]%></a><a href="javascript:void(0)"   id='showm' onclick='document.getElementById("money").style.display="inline-block";document.getElementById("hidem").style.display="inline-block";this.style.display="none"'>显示余额</a>
	      			<div id='money' style='display:none;'>账户余额：<b style="padding-left: 10px; color:red">￥<%=userAry[11]%></b> 活动奖金：<b style="padding-left: 10px;color:red">￥<%=userAry[13]%> </b>
	      			<a style="padding-left:10px;" href="javascript:void(0)"  id='hidem' onclick='document.getElementById("money").style.display="none";document.getElementById("showm").style.display="inline-block";this.style.display="none"'>隐藏余额</a>
	      			</div>
	      			<a style="padding-left:10px;" href="<%=request.getContextPath()%>/letoula/user/prepayIntro.jsp">充值</a>
					<br/>
	      			<a style="padding:0 10px;" href="<%=request.getContextPath()%>/letoula/user/userBetList.jsp">我的投注</a>
	      			
	      			<a style="padding-left:10px;" href="javascript:setting.unLogin()">退出</a>
	      			<%}else{%>
	      			
	      		    <a href="javascript:setting.login()">登录</a>&nbsp;
	      			<a href="<%=request.getContextPath()%>/letoula/user/Register.jsp" target="_blank" class='registered'>免费注册</a>
	      			<%}%>
	      		</span>
                </div> 
            </div>
            <div id="menu2">
					<DIV id=header_h>
					<DIV id=navin class=navin>
					<UL>
					  <LI id=mainlevel_01 class="first-crl mainlevel">
					  	<a href="<%=request.getContextPath()%>/">购彩中心</a> 
					 	<div id="sub_01" style="display:none;">
					 		 
					 	</div>
					    </LI>
					  
					  <LI id=mainlevel_02 class=mainlevel><a class="navho" href="<%=request.getContextPath()%>/jingcai/kaijiang">开奖结果</a>
					  <div id="sub_02" style="display:none;">
					  
					  </div>
					 </LI>
					  
					  <LI id=mainlevel_03 class=mainlevel><a class="navho" href="<%=request.getContextPath()%>/hemai">合买大厅</a> 
					  </LI>
					  
					  <LI id=mainlevel_04 class=mainlevel><a class="navho" href="<%=request.getContextPath()%>/jingcai/live">比赛直播</a>
					  </LI>
					</UL></DIV>
					</DIV>  
			</div>
        </div>
    </div>
</div>
  <div class="tips_m" id='loginEntrance' style="width:350px;height:192px; " id="blk1">
    <div class="tips_b">
         <div class="tips_box">
              <div class="tips_title">
                    <h2>用户登录</h2>
                    <span class="closes"><a class='close' onclick="setting.loginClose()">关闭</a></span>
               </div>
               <div class="tips_text">
             		<iframe id='entrance' width="340" height="150" frameborder="0" scrolling="no" src="<%=request.getContextPath()%>/letoula/loginDiv.jsp"></iframe>
              </div>
         </div>
    </div>
</div> 
<div id='bd'>aa</div>
<script type='text/javascript' src='<%=request.getContextPath()%>/letoula/js/public.js'></script>