document.write('');
document.write('APP下载手机扫描下方 二维码即可下载 ');
function goDownload()
{
window.open('http://www.nowscore.com/wap.aspx')
}
function LogOut()
{
document.getElementById("url").value = window.location.href;
document.getElementById("logoutForm").submit();
}
(function (method) {
if (typeof window.addEventListener !== "undefined") {
window.addEventListener("load", method, false);
} else if (typeof window.attachEvent !== "undefined") {
window.attachEvent("onload", method);
}
})(function () {
var func = function () {
document.getElementById('loginboxframe').innerHTML = "";
var element = document.getElementById('popup_loginbox')
if (element) {
element.style.display = "block";
element.insertAdjacentHTML('afterend', "");
}
}
var func2=function(){
var element = document.getElementById('popup_loginbox')
if (element) {
element.style.display = "none";
var bg = document.getElementsByClassName("loginbg");
if(bg)
bg[0].parentNode.removeChild(bg[0]);
}
}
var btnlogin = document.getElementById('btnPopUplogin');
var btnClose = document.getElementById('close_loginBox');
if(!!btnlogin)
{
if (typeof window.addEventListener !== "undefined") {
btnlogin.addEventListener("click", func, false);
btnClose.addEventListener("click", func2, false);
} else if (typeof window.attachEvent !== "undefined") {
btnlogin.attachEvent("click", func);
btnClose.attachEvent("click", func2);
}
window.addEventListener('message', function (e) {if (e.data == "refresh")this.location.reload() });
}
});
function loginform(obj,v)
{
var f= document.getElementById("loginFrame");
obj.className="on";
if(v==1){
obj.nextSibling.className="";
f.src="//guess.nowscore.com/account/PopLogin?v=1";
}
else if(v==2){
obj.previousSibling.className="";
f.src="//guess.nowscore.com/account/PopLogin?v=2";
}
}