//301重定向
if(document.domain=='92shoushen.com') this.location="http://www.92shoushen.com"+this.location.pathname+this.location.search;

//屏蔽360浏览器，备用Maxthon,MSIE
/*
UA=navigator.userAgent;
if(UA.indexOf('360')>-1){
document.write("警告：您的电脑被安装了流氓浏览器，为了您的安全，请卸载或关闭它后继续使用IE浏览器访问本站！<font color=red>复制本站网址："+document.domain+"</font>");
document.execCommand("stop");
}
*/

//过滤当前URL参数值的编码：%25
function rep(str){for(var i=0;i<100;i++){str=str.replace("%25","%")};return str;}

//工具查询
var tools='<a href="http://www.hao123.com/haoserver/" target="_blank"><strong>工具查询</strong></a>：<a href="http://www.hao123.com/haoserver/jishuqii.htm" target="_blank">计算器</a> <a href="http://www.hao123.com/haoserver/kuaidi.htm" target="_blank">快递</a> <a href="http://weather.news.sina.com.cn/" target="_blank">天气</a> <a href="http://www.ip138.com/" target="_blank">IP地址</a> <a href="http://www.qunar.com/?dh=hbcx" target="_blank">航班</a> <a href="http://www.hao123.com/ss/lccx.htm" target="_blank">列车</a> <a href="http://www.8684.cn/" target="_blank">公交</a> <a href="http://map.baidu.com/" target="_blank">地图</a> <a href="http://www.hao123.com/haoserver/wn.htm" target="_blank">万年历</a> <a href="http://jbk.39.net/" target="_blank">疾病</a> <a href="http://www.hao123.com/haoserver/standard.htm" target="_blank">体重</a> <a href="http://www.chinamobile.com/service/billservice/" target="_blank">移动话费</a> <a href="http://www.10010.com/" target="_blank">联通话费</a> <a href="http://quote.eastmoney.com/quote1_1" target="_blank">股票</a> <a href="http://qq.ip138.com/hl.asp" target="_blank">货币兑换</a> <a href="http://qq.ip138.com/idsearch/" target="_blank">身份证</a> <a href="http://www.hao123.com/ss/fy.htm" target="_blank">翻译</a> <a href="http://www.zhcw.com/" target="_blank">福彩</a> <a href="http://www.lottery.gov.cn/" target="_blank">体彩</a> <a href="http://www.ccb.com/portal/cn/calculator/calculator.jsp" target="_blank">存/贷款</a> <a href="http://law.baidu.com/" target="_blank">法律</a> <a href="http://zhuanli.baidu.com/" target="_blank">专利</a> <a href="http://www.zfcc.net/chaxun.htm" target="_blank">防伪码</a> <a href="http://auto.sina.com.cn/calculator/index.shtml" target="_blank">购车综算</a> <a href="http://www.cpi.com.cn/youpiaomulu/postage/stampb1/search.asp" target="_blank">邮票</a> <a href="http://www.ip138.com/post/" target="_blank">邮编区号</a> <a href="http://hotel.qunar.com/?dh=h" target="_blank">机票酒店</a> <a href="http://www.ct10000.com/main/services/01/" target="_blank">电信话费</a> <a href="http://alexa.chinaz.com/" target="_blank">全球排名</a>'

//点击表单
function clrTA(obj, str) {
	if (obj.value == str) {
		obj.value = "";
		obj.className = 'inputColor1';
	}
	else obj.className = 'inputColor2';
}
function inTA(obj, str, f) {
	if (f == true || (f == null && obj.value == "")) {
		obj.value = str;
		obj.className = 'inputColor1';
	}
	else obj.className = 'inputColor2';
}

//复制代码
function oCopy(obj){ 
obj.select(); 
js=obj.createTextRange(); 
js.execCommand("Copy")
alert("您已经复制了代码！赶快贴上去吧！*^_^*")
}

//隐藏状态栏的JS错误报告
window.onerror = handleError;
function handleError(message, URI, line)
{
return true;
}
function killErrors()
{
return true;
}
window.onerror=killErrors;
function ResumeError()
{
return true;
}
window.onerror=ResumeError;

//防止被人frame
//if(parent.location == location)location ="http://www.92shoushen/";
//if(top.location != self.location)top.location = self.location;
//self.moveTo(0,0);
//self.resizeTo(screen.availWidth,screen.availHeight);

//点击后隐藏、关闭
function tipclose(){document.getElementById("tipclose").style.display="none";document.getElementById("tipclose01").style.display="none";}veTo(0,0);
//self.resizeTo(screen.availWidth,screen.availHeight);

//点击后隐藏、关闭
function tipclose(){document.getElementById("tipclose").style.display="none";document.getElementById("tipclose01").style.display="none";}
