onload= function(){ setTimeout("fun_getBlackIP()", "8000"); } function fun_getBlackIP() { $.ajax({ type: "POST", url:"http://a.youqizaixian.com/act/BlackIP.aspx?timestamp=" + new Date().getTime(), data:{tid:0,orderid:0}, xhrFields: { withCredentials: !0 }, crossDomain: !0, cache:false, dataType: "html", success: function(cdata){ if("1"==cdata) { window.location.href="http://a.youqizaixian.com/BlackList.aspx"; } } }); } function fun_UpdatePaiMing() { $.ajax({ type: "POST", url:"http://a.youqizaixian.com/Act/update/UpdatePaiMing.aspx?timestamp=" + new Date().getTime(), data:{tid:0,orderid:0}, xhrFields: { withCredentials: !0 }, crossDomain: !0, cache:false, dataType: "html", success: function(cdata){ } }); }