var temp = "";
temp += "<table width='100%' border='0' cellpadding='3' cellspacing='1' class='kj'>";
temp += "  <tr>";
temp += "    <th width='75'>²ÊÖÖ</th>";
temp += "    <th width='50'>ÆÚºÅ</th>";
temp += "    <th>ÖÐ½±ºÅÂë</th>";
temp += "    <th width='40'>ÏêÏ¸</th>";
temp += "  </tr>";
for (var i=0;i<loto.length;i++) {
	temp += "  <tr>";
	if(i%2==0){
		temp += "    <td class='bg1'><a href='" + loto[i][3] + "' target='_blank'>" + loto[i][0] + "</a></td>";
		loto[i][2] = loto[i][2].replace(/,/g, ".gif' alt='' /><img src='http://images.sports.cn/lottery/images_govlottery/images/kjball/a_");
		loto[i][2] = loto[i][2].replace("+", ".gif' alt='' /><img src='http://images.sports.cn/lottery/images_govlottery/images/kjball/2_12.gif' style='width:8px;margin:2px 0px 1px 0px;' alt='' /><img src='http://images.sports.cn/lottery/images_govlottery/images/kjball/a_");
		loto[i][2] = "<img src='http://images.sports.cn/lottery/images_govlottery/images/kjball/a_" + loto[i][2];
		loto[i][2] += ".gif' alt='' />";
	}else{
		temp += "    <td class='bg2'><a href='" + loto[i][3] + "' target='_blank'>" + loto[i][0] + "</a></td>";
		loto[i][2] = loto[i][2].replace(/,/g, ".gif' alt='' /><img src='http://images.sports.cn/lottery/images_govlottery/images/kjball/b_");
		loto[i][2] = loto[i][2].replace("+", ".gif' alt='' /><img src='http://images.sports.cn/lottery/images_govlottery/images/kjball/2_12.gif' style='width:8px;margin:2px 0px 1px 0px;' alt='' /><img src='http://images.sports.cn/lottery/images_govlottery/images/kjball/b_");
		loto[i][2] = "<img src='http://images.sports.cn/lottery/images_govlottery/images/kjball/b_" + loto[i][2];
		loto[i][2] += ".gif' alt='' />";
	}
	temp += "    <td>" + loto[i][1] + "</td>";
	temp += "    <td class='number'>" + loto[i][2] + "</td>";
	temp += "    <td><a href='" + loto[i][3] + "' target='_blank'><img src='http://images.sports.cn/lottery/images_govlottery/images/kjball/mr.gif' width='26' height='26' alt='' /></a></td>";
	temp += "  </tr>";
}
temp += "</table>";
document.write (temp);