0?(n(".g-hd").css("opacity",".95"),t.show()):(n(".g-hd").css("opacity","1"),t.hide())};return this&&(window.onscroll=function(){i()},window.onresize=function(){i()}),this.click(function(t){t.preventDefault();var i=document.body.scrollTop||300;i>300&&(i=300);n("body,html").animate({scrollTop:0},2*i)}),this}}(jQuery),function(n){n.fn.helptips=function(){return this.each(function(){var i,n,t;$(this).find("img").length==0&&$(this).append($('
'));$(this).find(".tips-cinfo-show").length==0&&$(this).append($('<\/div>'));i=$(this).find("img").get(0);n=$(this).find(".tips-cinfo-show");n.html($(this).attr("title"));$(this).removeAttr("title");t=i.getBoundingClientRect();typeof $(this).attr("width")!="undefined"&&(n.css("width",parseInt($(this).attr("width"))+"px"),$(this).removeAttr("width"));var r=parseInt(n.css("width")),f=parseInt(n.css("left")),u=document.documentElement.clientWidth,e=document.documentElement.clientHeight;$(this).find(".tips-cinfo-show").css("text-align","left");$(this).find(".tips-cinfo-show").css("z-index","9999");t.right+r>u&&$(this).find(".tips-cinfo-show").css("left",u-(t.right+r+f)-17+"px");t.bottom+n.get(0).scrollHeight>e&&$(this).find(".tips-cinfo-show").css("top",-4-n.get(0).scrollHeight+"px")})}}(jQuery);$(function(){$(".tips-cinfo").helptips()});var getParamArr=function(n){var r=$("#"+n),u=r&&r.attr("data"),f={},i=u&&u.split("&"),t;if(i)for(t=0;t0?!0:!1};String.prototype.equals=function(n){return this==n?!0:!1};String.prototype.equalsIgnoreCase=function(n){return this==n||this.toUpperCase()==n.toUpperCase()?!0:!1};String.prototype.isChinese=function(){var n=this.trim();return/^[\u4E00-\uFA29]*$/.test(n)?!0:!1};String.prototype.isEmail=function(){return/^[\w-_]+(\.[\w-_]+)*@[\w-_]+(\.[\w-_]+)+$/.test(this)?!0:!1};String.prototype.isImg=function(){var n=new RegExp("[.]+(jpg|jpeg|swf|gif)$","gi");return n.test(this)?!0:!1};String.prototype.isInteger=function(){return/^-?\d+$/.test(this)?!0:!1};String.prototype.isFloat=function(){return/^(-?\d+)(\.\d+)?$/.test(this)?!0:!1};String.prototype.isPost=function(){return/^\d{1,6}$/.test(this)?!0:!1};String.prototype.ismobiles=function(){return/^1[34578]\d{9}/.test(this)?!0:!1};String.prototype.isphones=function(){return/^(0[1-9]\d{1,2}-)\d{7,8}(-\d{1,8})?/.test(this)?!0:!1};String.prototype.isQQ=function(){return/^\d{5,12}$/.test(this)?!0:!1};String.prototype.isIPv4=function(){return/^(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])$/.test(this)?!0:!1};String.prototype.isDate=function(){return/^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-0?2-(0?[1-9]|1\d|2[0-8]))|(((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))-0?2-29-))$/.test(this)?!0:!1};String.prototype.isIdCardNo=function(){var e=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2,1],n=[],r=0,t,u,f;if(idNumber.length!=15&&idNumber.length!=18)return!1;for(i=0;i"9")&&i!=17)return!1;i<17&&(n[i]=n[i]*e[i])}if(idNumber.length==18){if(u=idNumber.substring(6,14),checkDate(u)==!1)return!1;for(i=0;i<17;i++)r=r+n[i];t=12-r%11;switch(t){case 10:t="X";break;case 11:t=0;break;case 12:t=1}if(n[17].toUpperCase()!=t)return!1}else if(f=idNumber.substring(6,12),checkDate(f)==!1)return!1;return!0};String.prototype.ToCharArray=function(){return this.split("")};String.prototype.Reverse=function(){return this.split("").reverse().join("")};String.prototype.IsContains=function(n){return this.indexOf(n)>-1};String.prototype.IsEmpty=function(){return this==""};String.prototype.IsNumeric=function(){var n=parseFloat(this),t;return isNaN(n)?!1:(t=this.length-n.toString().length,n+"0".GetSame(t)==this)};String.prototype.IsInt=function(){return this=="NaN"?!1:this==parseInt(this).toString()};String.prototype.resetBlank=function(){return this.replace(/\s+/g,"")};String.prototype.getNum=function(){return this.replace(/[^\d]/g,"")};String.prototype.getEn=function(){return this.replace(/[^A-Za-z]/g,"")};String.prototype.getCn=function(){return this.replace(/[^\u4e00-\u9fa5\uf900-\ufa2d]/g,"")};String.prototype.ByteLength=function(){return this.replace(/[^\x00-\xff]/g,"aa").length};String.prototype.left=function(n){return this.slice(0,n)};String.prototype.right=function(n){return this.slice(this.length-n)};String.prototype.HTMLEncode=function(){for(var t=this,i=[/\x26/g,/\x3C/g,/\x3E/g,/\x20/g],r=["&","<",">"," "],n=0;n