
document.write("<center>");
document.write("<div align=left style='width:100%;'>");

document.write("<table width='100%' bgcolor='#FFFFFF' cellpadding=0 cellspacing=0 style='font-size:12px;'>");
document.write("<tr height=16><td colspan=3 align=right style='color:#CACC9B'>");
document.write("<a href='#' onclick=\"this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.50018.com/');return false;\" style='color:#CACC9B'><img src='/images/nav_hom.gif' width=11 height=11> 设为首页</a> ");
document.write("<a href='/service/sitemap.asp' style='color:#CACC9B'><img src='/images/nav_gad.gif' width=11 height=11> 导航</a> <a href='/dictionary/faq.asp' style='color:#CACC9B'>帮助</a> ");
document.write("<a href=\"javascript:window.external.addFavorite('http://www.50018.com/','幸运之门彩票网50018.COM')\" style='color:#CACC9B'><img src='/images/nav_fav.gif' width=11 height=11> 收藏本站</a>");
document.write("</td></tr>");
document.write("<tr height=1><td></td><td></td><td bgcolor='#CACC9B' width=560></td></tr>");
document.write("<tr height=2><td colspan=4></td></tr>");
document.write("</table>");

document.write("<table width='100%' bgcolor='#FFFFFF' cellpadding=0 cellspacing=0 style='font-size:12px;'>");
document.write("<tr height=47>");
document.write("<td width=180 valign=top><a href='http://www.50018.com/'><img src='/agent/img/top/logo.gif' border=0 width=164 height=51></a></td>");
document.write("<td></td>");
document.write("<td align=right valign=bottom style='line-height:19px;'>");
document.write("<font color='#A10A00'>");
document.write("<a href='/member/' style='color:#A10A00'>注册</a> | ");
document.write("<a href='/member/login.asp' style='color:#A10A00'>登录</a> | ");
document.write("<a href='/bank/cashlist.asp' style='color:#A10A00'>账户</a> | ");
document.write("<a href='/bank/go.asp' style='color:#A10A00'>充值</a> | ");
document.write("<a href='/client/' style='color:#A10A00'>高级会员</a> | ");
document.write("<a href='/agent/d11/' style='color:#A10A00'>合买中心</a> | ");
document.write("<a href='/agent/d11/' style='color:#A10A00'>代购中心</a> | ");
document.write("<a href='/team/' style='color:#A10A00'>竞猜训练</a> | ");
document.write("<a href='http://bbs.50018.com/' style='color:#A10A00'>彩票论坛</a> | ");
document.write("<a href='http://news.50018.com/' target=_blank style='color:#A10A00'>彩票新闻</a> | ");
document.write("</font>");
document.write("<br>");
document.write("<font color='#505050'>");
document.write("<a href='/fucai/ssq/zjgg/default.html' style='color:#505050'>开奖</a> | ");
document.write("<a href='/province/rule.asp' style='color:#505050'>规则</a> | ");
document.write("<a href='/fucai/mianfeitubiao.aspx' style='color:#505050'>图表</a> | ");
document.write("<a href='/fucai/mianfeitubiao.aspx' style='color:#505050'>历史</a> | ");
document.write("<a href='/fucai/mianfeitubiao.aspx' style='color:#505050'>走势图表</a> | ");
document.write("<a href='/fucai/mianfeitubiao.aspx' style='color:#505050'>数据统计</a> | ");
document.write("<a href='/agent/3d/guide.asp' target=_blank style='color:#505050'>投注技巧</a> | ");
document.write("<a href='/dictionary/' style='color:#505050'>彩票知识</a> | ");
document.write("<a href='/province/fushi.asp' style='color:#505050'>复式计算</a> | ");
document.write("<a href='/winner/' style='color:#505050'>中奖排行</a> | ");
document.write("</font>");
document.write("<br> ");
document.write("<font color='#196600'>");
document.write("<a href='/assist/default.asp' style='color:#196600'>选号</a> | ");
document.write("<a href='/assist/manual2.asp' style='color:#196600'>胆拖</a> | ");
document.write("<a href='/assist/doctor.asp' style='color:#196600'>大师</a> | ");
document.write("<a href='/analyst/software.htm' style='color:#196600'>软件</a> | ");
document.write("<a href='/assist/manual.asp' style='color:#196600'>旋转矩阵</a> | ");
document.write("<a href='/agent/3d/default4.asp' style='color:#196600'>博士建议</a> | ");
document.write("<a href='/province/shijihao.html' style='color:#196600'>试机号码</a> | ");
document.write("<a href='http://bbs.50018.com/forum/show.asp?id=21' style='color:#196600'>３Ｄ字谜</a> | ");
document.write("<a href='http://w8.70018.com/' target=_blank style='color:#196600'>百科问吧</a> | ");
document.write("<a href='http://game.50018.com/' target=_blank style='color:#196600'>免费游戏</a> | ");

document.write("</td></tr>");
document.write("</table>");

function PostHref(href)
{
	var XMLHTTP;
	XMLHTTP = new ActiveXObject("MSXML2.XMLHTTP");
	XMLHTTP.Open("get",href,false);
	XMLHTTP.setRequestHeader("charset", "utf-8");
	XMLHTTP.setRequestHeader("Content-Type", "text/xml");
	XMLHTTP.Send();
	delete XMLHTTP;
}

function Egg(id)
{
	PostHref("/forum/bin/Forum.Egg.asp?id=" + id);
	alert("哦，您给了一个鸡蛋！刷新页面可以看到结果！")
}

function Flower(id)
{
	PostHref("/forum/bin/Forum.Flower.asp?id=" + id);
	alert("多谢，您给了一朵鲜花！刷新页面可以看到结果！")
}

var act=0;
function ShowList() 
{ 
	document.all.PanelList.style.display = "inline"; 
	act=0; 
}
function HideList() 
{ 
	if(act>0) 
		document.all.PanelList.style.display = "none"; 
	act++; 
}
function ShowActive() 
{ 
	act=0; 
}

var sTop=0;
function getXY(Obj)
{
	for(var sumTop = 0, sumLeft = 0; Obj != document.body; sumTop += Obj.offsetTop, sumLeft += Obj.offsetLeft, Obj=Obj.offsetParent);
	return {left:sumLeft,top:sumTop};
}

function ShowBet(cur,h) 
{ 
	var sp = getXY(cur);
	document.all.PanelBet.style.left = sp.left + 2;
	document.all.PanelBet.style.top = sp.top + h + 2;
	document.all.PanelBet.style.display = "inline"; 
	act=0; 
}
function HideBet() 
{ 
	if(act>0) 
		document.all.PanelBet.style.display = "none"; 
	act++; 
}

