﻿document.write("<table border=\"0\" cellpadding=\"1\" cellspacing=\"2\" width=\"340\" style=\"position:absolute\" id=\"tbLottery\">	<tr>		<td width=\"21%\"></td>		<td width=\"15%\"></td>		<td width=\"6%\"></td>		<td width=\"48%\"></td>		<td width=\"10%\"></td>	</tr>	<tr>		<td class=\"lo_t1\"><a href=\"http://win.7m.cn/Analyse/dlt/historypage/historypage_1.shtml\" target=\"_blank\" title=\"查看历史开奖号码\">超级大乐透</a></td>		<td class=\"lo_t2\" onClick=\"showDiv(this,0)\" id=\"lottery0\" style=\"cursor:pointer\">10030</td>		<td class=\"lo_t3\">期</td>		<td class=\"lo_t4s1\" id=\"result0\">10 12 19 32 35 + 02 07</td>		<td class=\"lo_t5\"><a  href=\"javascript:window.open('http://win.7m.cn/Analyse/dlt/info/' +  document.getElementById('lottery0').innerHTML + '.shtml');void(0)\">详细</a></td>	</tr>	<tr>		<td class=\"lo_t1\"><a href=\"http://win.7m.cn/Analyse/sfc/historypage/historypage_1.shtml\" target=\"_blank\" title=\"查看历史开奖号码\">足球胜负彩</a></td>	  <td class=\"lo_t2\" onClick=\"showDiv(this,1)\" id=\"lottery1\" style=\"cursor:pointer\">10024</td>		<td class=\"lo_t3\">期</td>		<td class=\"lo_t4s2\" id=\"result1\">31133103333013</td>		<td class=\"lo_t5\"><a  href=\"javascript:window.open('http://win.7m.cn/Analyse/sfc/info/' +  document.getElementById('lottery1').innerHTML + '.shtml');void(0)\">详细</a></td>			</tr>	<tr>		<td class=\"lo_t1\"><a href=\"http://win.7m.cn/Analyse/bqc/historypage/historypage_1.shtml\" target=\"_blank\" title=\"查看历史开奖号码\">六场半全场</a></td>	  <td class=\"lo_t2\" onClick=\"showDiv(this,2)\" id=\"lottery2\" style=\"cursor:pointer\">10030</td>		<td class=\"lo_t3\">期</td>		<td class=\"lo_t4s3\" id=\"result2\">101033013310</td>		<td class=\"lo_t5\"><a  href=\"javascript:window.open('http://win.7m.cn/Analyse/bqc/info/' +  document.getElementById('lottery2').innerHTML + '.shtml');void(0)\">详细</a></td>			</tr>	<tr>		<td class=\"lo_t1\"><a href=\"http://win.7m.cn/Analyse/jqc/historypage/historypage_1.shtml\" target=\"_blank\" title=\"查看历史开奖号码\">四场进球彩</a></td>	  <td class=\"lo_t2\" onClick=\"showDiv(this,3)\" id=\"lottery3\" style=\"cursor:pointer\">10031</td>		<td class=\"lo_t3\">期</td>		<td class=\"lo_t4s4\" id=\"result3\">01122202</td>		<td class=\"lo_t5\"><a  href=\"javascript:window.open('http://win.7m.cn/Analyse/jqc/info/' +  document.getElementById('lottery3').innerHTML + '.shtml');void(0)\">详细</a></td>			</tr>	<tr>		<td class=\"lo_t1\"><a href=\"http://win.7m.cn/Analyse/qxc/historypage/historypage_1.shtml\" target=\"_blank\" title=\"查看历史开奖号码\">七　星　彩</a></td>	  <td class=\"lo_t2\" onClick=\"showDiv(this,4)\" id=\"lottery4\" style=\"cursor:pointer\">10030</td>		<td class=\"lo_t3\">期</td>		<td class=\"lo_t4s7\" id=\"result4\">7 6 9 5 8 9 0</td>		<td class=\"lo_t5\"><a  href=\"javascript:window.open('http://win.7m.cn/Analyse/qxc/info/' +  document.getElementById('lottery4').innerHTML + '.shtml');void(0)\">详细</a></td>			</tr>	<tr>		<td class=\"lo_t1\"><a href=\"http://win.7m.cn/Analyse/pl3/historypage/historypage_1.shtml\" target=\"_blank\" title=\"查看历史开奖号码\">排　列　三</a></td>	  <td class=\"lo_t2\" onClick=\"showDiv(this,5)\" id=\"lottery5\" style=\"cursor:pointer\">10070</td>		<td class=\"lo_t3\">期</td>		<td class=\"lo_t4s5\" id=\"result5\">6 6 9</td>		<td class=\"lo_t5\"><a  href=\"javascript:window.open('http://win.7m.cn/Analyse/pl3/info/' +  document.getElementById('lottery5').innerHTML + '.shtml');void(0)\">详细</a></td>			</tr>	<tr>		<td class=\"lo_t1\"><a href=\"http://win.7m.cn/Analyse/pl5/historypage/historypage_1.shtml\" target=\"_blank\" title=\"查看历史开奖号码\">排　列　五</a></td>	  <td class=\"lo_t2\" onClick=\"showDiv(this,6)\" id=\"lottery6\" style=\"cursor:pointer\">10070</td>		<td class=\"lo_t3\">期</td>		<td class=\"lo_t4s6\" id=\"result6\">6 6 9 3 8</td>		<td class=\"lo_t5\"><a  href=\"javascript:window.open('http://win.7m.cn/Analyse/pl5/info/' +  document.getElementById('lottery6').innerHTML + '.shtml');void(0)\">详细</a></td>			</tr>	<tr>		<td class=\"lo_t1\"><a href=\"http://win.7m.cn/Analyse/225/historypage/historypage_1.shtml\" target=\"_blank\" title=\"查看历史开奖号码\">二十二选五</a></td>	  <td class=\"lo_t2\" onClick=\"showDiv(this,7)\" id=\"lottery7\" style=\"cursor:pointer\">10070</td>		<td class=\"lo_t3\">期</td>		<td class=\"lo_t4s8\" id=\"result7\">02 06 12 15 19</td>		<td class=\"lo_t5\"><a  href=\"javascript:window.open('http://win.7m.cn/Analyse/225/info/' +  document.getElementById('lottery7').innerHTML + '.shtml');void(0)\">详细</a></td>			</tr>	<tr>		<td class=\"lo_t1\"><a href=\"http://win.7m.cn/Analyse/367/historypage/historypage_1.shtml\" target=\"_blank\" title=\"查看历史开奖号码\">三十六选七</a></td>	  <td class=\"lo_t2\" onClick=\"showDiv(this,8)\" id=\"lottery8\" style=\"cursor:pointer\">10030</td>		<td class=\"lo_t3\">期</td>		<td class=\"lo_t4s9\" id=\"result8\">05 07 11 12 20 34 + 27</td>		<td class=\"lo_t5\"><a  href=\"javascript:window.open('http://win.7m.cn/Analyse/367/info/' +  document.getElementById('lottery8').innerHTML + '.shtml');void(0)\">详细</a></td>	</tr></table><div id=\"divLottery\" style=\"position:absolute;  display:none; border: 1px solid #94AFBC; cursor:pointer\" onMouseOut=\"timer=setTimeout('closeDiv()',500)\" onMouseOver=\"clearTimeout(timer);this.style.display='';\" ></div>" );

var timer;
var y = parseInt(document.getElementById("tbLottery").offsetTop);
var x = parseInt(document.getElementById("tbLottery").offsetLeft);
var divLottery = document.getElementById("divLottery");
function showDiv(obj,index)
{
	var strHTML = "";
	for(var key in lotterys[index])
		strHTML += "<div class='div_out' align='center' onMouseOver='changeStyle(this)' onclick=showResult(this.innerHTML," + index + ")>" + key +"</div>";
	divLottery.innerHTML = strHTML;
	divLottery.style.width = obj.offsetWidth + "px";
	divLottery.style.left= obj.offsetLeft + x + "px";
	divLottery.style.top = obj.offsetTop + obj.offsetHeight + y+ "px";
	divLottery.style.display="";
}

function changeStyle(obj)
{
	clearTimeout(timer);
	var divs= divLottery.getElementsByTagName("div");
	for(var i=0;i<divs.length;i++)
		divs[i].className="div_out";
	obj.className="div_over";
}


function closeDiv()
{
	divLottery.style.display="none";
}

function showResult(key,index)
{
	document.getElementById("lottery"+ index).innerHTML = key;
	document.getElementById("result"+ index).innerHTML = lotterys[index][key];
	closeDiv();
}

var lotterys = new Array();
lotterys[0] = {'10030':'10 12 19 32 35 + 02 07','10029':'21 22 33 34 35 + 03 04','10028':'01 02 07 20 35 + 01 03'};
					
lotterys[1] = {'10024':'31133103333013','10023':'11333131130311','10022':'03303013030113'};

lotterys[2] = {'10030':'101033013310','10029':'113333131300','10028':'013300131011'};

lotterys[3] = {'10031':'01122202','10030':'10330233','10029':'00133111'};

lotterys[4] = {'10030':'7 6 9 5 8 9 0','10029':'7 6 6 8 3 8 3','10028':'5 1 7 0 6 9 9'};

lotterys[5] = {'10070':'6 6 9','10069':'8 5 1','10068':'5 9 7'};

lotterys[6] = {'10070':'6 6 9 3 8','10069':'8 5 1 0 0','10068':'5 9 7 9 7'};

lotterys[7] = {'10070':'02 06 12 15 19','10069':'01 03 08 15 22','10068':'01 03 06 16 21'};

lotterys[8] = {'10030':'05 07 11 12 20 34 + 27','10029':'05 10 23 30 33 36 + 09','10028':'10 15 17 23 28 33 + 04'};

