function check(theForm) { if (theForm.UserName.value == '') { alert("请输入球探账号"); theForm.UserName.focus(); return false; } if (theForm.Password.value == '') { alert("请输入密码"); theForm.Password.focus(); return false; } if (theForm.AuthCode.value == '') { alert("请输入验证码"); theForm.AuthCode.focus(); return false; } } function changeCsDiv(cna) { var items = document.getElementById(cna).getElementsByTagName("span"); var clsName = "b_bb"; for (var i = 0; i < items.length; i++) {items[i].className = clsName; } } function showDiv(cna) { document.getElementById(cna).style.display = "block"; } function hideDiv(cna,event) { try{ if (window.event) ev = window.event.toElement; else ev = event.relatedTarget; if (ev.id != cna && ev.id.indexOf("a") == -1 ) { document.getElementById(cna).style.display = "none"; var items = document.getElementById(cna.replace("div", "")).getElementsByTagName("span"); for (var i = 0; i < items.length; i++) { if(cna=="b_divL9") items[i].className = "b_s9"; } } } catch (e) { } } document.write('
'); function cancelRechargeTips() { $(".adpopbox").remove(); } function goRechargeTips(kind) { $(".adpopbox").remove(); if(kind==1) window.location.href = "https://users.titan007.com/users/RechargeInfo.aspx"; else window.location.href = "https://users.titan007.com/users/Register.aspx"; } function showRechargeTips() { $(".adpopbox").css("display", ""); } function changeVerifyCodeSub() { var d = new Date(); document.getElementById("verifyCode").src = "/Users/VerifyCode.aspx?refresh=yes&t=" + d.getTime(); } function AddFavorite(sURL, sTitle) { try { window.external.addFavorite(sURL, sTitle); } catch (e) { try { window.sidebar.addPanel(sTitle, sURL, ""); } catch (e) { alert("加入收藏失败,请使用Ctrl+D进行添加"); } } } function showUserCoin() { if(document.getElementById("btnShowTopCoin").innerHTML=="显示"){ var strReturn = document.getElementById("showTopCoin").getAttribute("data-qiubi"); if (strReturn == "") return; document.getElementById("showTopCoin").innerHTML =strReturn; document.getElementById("btnShowTopCoin").innerHTML ="隐藏"; } else{ document.getElementById("showTopCoin").innerHTML ="******"; document.getElementById("btnShowTopCoin").innerHTML ="显示"; } } function selectLoginUser(user,pwd) { document.getElementById("UserName").value=user; document.getElementById("Password").value=pwd; document.getElementById("button").click(); } function showUserSelect(data) { var dataList=data.split('#'); var arrUser = dataList[1].split('!'); var arrPwd=dataList[2]; var html = new Array(); html.push("
"); html.push("
请选择球探账号"); html.push("
"); html.push("
"); for (var i = 0; i < arrUser.length; i++) { var arrOneUser = arrUser[i].split('^'); html.push("
"+arrOneUser[0]+"
"); } html.push("
"); html.push("
"); document.getElementById("div_login").innerHTML=html.join(""); }