
var pageurl = location.href.split("/"); 

document.write("<center>");
document.write("<div align=left style='width:950px;height:27px;padding:1px;border:solid 1px #CADBFF;'>");
document.write("<table width='100%' cellpadding=0 cellspacing=0 border=0 style='height:25px;background-color:#F0F5FF;font-size:12px;border-collapse:collapse;'>");
document.write("<form id=frmLogin name=frmLogin action='/member/login_prc.asp?url=" + location.href + "' method='post'>");
document.write("<tr height=21 style='color:#003F69'>");
if(user_info_id!="") 
{
	document.write("<td valign=middle width=410>&nbsp;");
	document.write("欢迎您！<font color=red>" + user_info_nickname + "</font> 您的账户余额:");
	document.write("<span id=UserCash>0</span>元 ");
	document.write("<a href='/member/exit_prc.asp'>·退出登录</a> ");
	document.write("<a href='/member/modify.asp'>·修改资料</a>");
	document.write("</td>");
}
else 
{
	document.write("<td valign=middle width=310>&nbsp;会员登录 | ");
	document.write("用户：<input type=text id=cNickname name=cNickname size=10 maxlength=16 class=xz style='height:17px;border:solid 1px #CFCFCF;' value=''> ");
	document.write("密码：<input type=password id=cPassword name=cPassword size=12 maxlength=16 class=xz style='height:17px;border:solid 1px #CFCFCF;' value=''> ");
	document.write("</td><td><input type=submit id=sub1 name=sub1 value='登录' style='width:50px;height:19px;'></td><td>");
	document.write("<span id=UserCash style='display:none;'>0</span> ");
	document.write("<a href='/member/default.asp'>·免费注册</a> ");
	document.write("<a href='/member/query.asp'>·忘记密码</a>");
	document.write("</td>");
}
document.write("</td>");
document.write("<td><img src='/images/arr2.gif'></td>");
document.write("<td>&nbsp;<a href='/bank/go.asp' style='color:red;'><u>购买投注卡</u></a></td>");
document.write("<td align=right style='color:#01759A'>");
document.write("<a href='#' onclick=\"this.style.behavior='url(#default#homepage)';this.setHomePage('http://buy.cqcp.net/');return false;\" style='color:#01759A'><img src='/images/nav_hom.gif' width=11 height=11> 设为首页</a> ");
document.write("<a href='/help/begin.asp' style='color:#01759A'><img src='/images/nav_gad.gif' width=11 height=11> 投注帮助</a> ");
document.write("<a href=\"javascript:window.external.addFavorite('http://buy.cqcp.net/','重庆福利彩票发行管理中心服务平台投注')\" style='color:#01759A'><img src='/images/nav_fav.gif' width=11 height=11> 收藏本站</a>");
document.write("&nbsp;</td></form></tr>");
document.write("</table>");
document.write("</div>");

document.write("<table width='950' bgcolor='#FFFFFF' cellpadding=0 cellspacing=0 style='width:950px;height:98px;font-size:12px;'><tr>");
document.write("<td><a href='/'><img src='/images/logo.gif'></a></td>");
document.write("<td >&nbsp;</td>");
document.write("<td align=right>");
//document.write("<a href ='/news/show.asp?id=19'><img src='/images/jiajiang/ssqjj.gif'></a>")

document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='539' height='87'> <param name='movie' value='/images/swf/home.swf' align=right/>");
document.write("<param name='quality' value='high'>");
document.write("<param name='menu' value='false' >");
document.write("<param name='wmode' value='opaque' >");


document.write("<embed src='/images/swf/home.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='539' height='87'>");
document.write("</embed>");
document.write("</object>");


document.write("</td>");
document.write("</tr>");
document.write("</table>");

var hcolor = "#000000";

document.write("<div align=left style='width:950px;height:29px;padding:1px;border:solid 1px #DDE8FE;'>");
document.write("<table width='100%' height=27 cellpadding=0 cellspacing=0 style='font-size:12px;'>");
document.write("<tr style='background-image:url(/images/page_top06.jpg);'>");
document.write("<td align=center style='padding-top:3px;'><a href='/default.asp' style='color:#CC0000'>首 页</a></td>");
document.write("<td width=6><img src='/images/top_line.gif'></td>");

document.write("<td align=center style='padding-top:3px;'><a href='/agent/ssq/default.asp' style='color:#000000'>双色球</a></td>");
document.write("<td width=6><img src='/images/top_line.gif'></td>");
document.write("<td align=center style='padding-top:3px;'><a href='/agent/ssc/default.asp' style='color:#000000'>时时彩</a></td>");
document.write("<td width=6><img src='/images/top_line.gif'></td>");
document.write("<td align=center style='padding-top:3px;'><a href='/agent/3d/default.asp' style='color:#000000'>福彩3D</a></td>");
document.write("<td width=6><img src='/images/top_line.gif'></td>");
document.write("<td align=center style='padding-top:3px;'><a href='/agent/307/default.asp' style='color:#000000'>七乐彩</a></td>");
document.write("<td width=6><img src='/images/top_line.gif'></td>");
document.write("<td align=center style='padding-top:3px;'><a href='/trend/trend.asp' style='color:#000000'>走势图</a><img src='/images/new2.gif'></td>");
document.write("<td width=6><img src='/images/top_line.gif'></td>");
document.write("<td align=center style='padding-top:3px;'><a href='/bank/default.asp' style='color:#000000'>账户中心</a></td>");

document.write("<td width=6><img src='/images/top_line.gif'></td>");
document.write("<td align=center style='padding-top:3px;'><a href='/help/begin.asp' style='color:#000000'>投注说明</a></td>");
document.write("<td width=6><img src='/images/top_line.gif'></td>");
document.write("<td align=center style='padding-top:3px;'><a href='/news/default.asp' style='color:#000000'>资讯中心</a></td>");
document.write("<td align=center style='padding-top:0px;'><a href=' http://sighttp.qq.com/cgi-bin/check?sigkey=4ab2983c99de74636437183c39fc3e6b63d94b0edd3ab8c7b1db695d1b542b08'; target=_blank; onclick='var tempSrc=' http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=4ab2983c99de74636437183c39fc3e6b63d94b0edd3ab8c7b1db695d1b542b08';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;'><img border='0' SRC=' http://wpa.qq.com/pa?p=1:787428080:42' alt=''></a> </td>");
document.write("</tr>");
document.write("</table>");
document.write("</div>");
document.write("<table width=950 align=center ");
document.write("<tr>")
document.write("<marquee scrollAmount=4 width=950 onmouseover=stop() onmouseout=start()><a href = 'http://www.16cp.com/news/show.asp?id=36'><font style='color:red;font-size:16px;'>短信网关正在升级调试中，请大家暂时停止短信投注！</font></a>  </marquee>");
//document.write("<marquee scrollAmount=4 width=950 onmouseover=stop() onmouseout=start()><font style='color:red;font-size:16px;'>时时彩已经恢复正常，祝大家早日中大奖！</font></marquee>");
document.write("</tr>")
document.write("</table>");

document.write("<div class=div9 align=left>");
document.write("<table width='100%' cellpadding=0 cellspacing=0 border=0>");
document.write("<td>");
document.write("<tr height=4 bgcolor='#FFFFFF'><td colspan=4></td></tr>");
document.write("</td></table>");



function ShowHref(href,obj)
{
	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();
	if(XMLHTTP.readyState==4) {
		if(obj!=null) {
			if(document.defaultCharset=="utf-8" && navigator.userLanguage=="zh-cn") {
				obj.innerHTML = unescape(XMLHTTP.responseText); 
			}
			else {
				obj.innerHTML = XMLHTTP.responseText; 
			}
		}
		return XMLHTTP.responseText;
	}
	else {
		if(obj!=null) {
			obj.innerHTML = "...";
		}
		return "ERR";
	}
	delete XMLHTTP;
}

ShowHref('/common/bin/Bank.UserCash.asp?r=' + parseInt(Math.random()*10000),document.all.UserCash);
