<%@ page language="java" import="java.util.*,java.text.SimpleDateFormat" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
	<meta http-equiv="pragma" content="no-cache"/>
	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="expires" content="0"/>
	<title>双色球/大乐透</title>
</head>
<body>
	<div class="body">
		<div class="xgboard" id="board" style="width: 600px; height: 400px;"></div>
	</div>
	<script type="text/javascript" src="<%=request.getContextPath()%>/numberLottery/embed.js" charset="utf-8"></script>
	
	<script type="text/javascript">
		var options = {};
		options.theme = "default";
        var urlR='<%=request.getContextPath()%>';
		var ssq = {
			type: "ssq",
			url: urlR+"/PutForwordAction.do?action=BettingEntranceLotteryNumber",
			beforeSubmit: function(bkc){
				bkc.submit();
			},
			afterSubmit: function(response){
				alert(response);
			}
		};

		var dlt = {
			type: "dlt",
			url: "/dlt",
			method: "post",
			title: "高级大乐透",
			afterSubmit: function(response){
				var msg = "{\n";
				msg += response + "\n";
				msg += "}";
				alert(msg);
			}
		};
		_("board").create(options, ssq, dlt, ssq);
	</script>
</body>
</html>