forwardURL=function(A){if($base.useString(A)==true){window.location=A}};$getParams=function(){this.params={};var C=window.location.search;if($base.useString(C)){var E=C.substring(1,C.length).split("&");var A=E.length;for(var B=0;B<A;B++){if(E[B].indexOf("=")>=0){var D=E[B].split("=");this.params[D[0]]=D[1]}else{this.params[E[B]]=""}}}};$getParams.get=function(A){if($base.useString(A)&&useString(this.params[A])){return this.params[A]}return""};$getParams.toString=function(){var B="";var C=0;for(var A in this.params){if(C!=0){B+=","}B+=" key:"+A+" value:"+this.params[A];C++}return B};viewImageByBase64=function(C,B,A){if($base.isNull(C)||$base.useString(B)==false||$base.isNull(A)){return }$(C).src="data:"+B+";base64,"+A};putStyleWidhtHeight=function(D,E,B,C){var G="";if(E>0){E/=100;var A=Math.ceil(bwWidth()*E);G+=" width: "+A+"px;"}if(B>0){B/=100;var F=Math.ceil(bwHeight()*B);G+=" height: "+F+"px;"}if(C!=null&&(C=trim(C)).length>0){G+=C;if(endsWith(C,";")==false){G+=";"}}if(G.length>0){addCssValue(D,G)}};bwWidth=function(){if(isMSIE==true){return document.body.clientWidth}else{return window.innerWidth}};bwHeight=function(){if(isMSIE==true){return document.body.clientHeight}else{return window.innerHeight}};getElementsByClassName=function(C){var B=[];var A=(document.getElementsByTagName("*")||document.all);for(var D=0;D<A.length;D++){if(A[D].className==C){B[B.length]=A[D]}}return B};addCssValue=function(A,B){if($base.isNull(A)||$base.isNull(B)){return false}var C=getSheets();if($base.isNull(C)){return false}if(isMSIE==true){if(C[0].addRule){C[0].addRule(A,"{"+B+"}");return true}}else{if(C[0].insertRule){C[0].insertRule(A+"{"+B+"}",C[0].cssRules.length);return true}}return false};getCssValue=function(B,E){var E=(E.match(/-/))?E.camelize():E;var G=null;var F=getSheets();if($base.isNull(F)){return false}if(isMSIE==true){G=F[0].rules}else{G=F[0].cssRules}for(var D=0,A=G.length;D<A;D++){var C=G[D];if(C.selectorText.toLowerCase()==B.toLowerCase()){return C.style[E]}}};getActiveCssValue=function(A,C,B){var D=getSheets();if($base.isNull(D)){return false}if($base.isMSIE==true){if(A.currentStyle){var C=(C.match(/-/))?C.camelize():C;return A.currentStyle[C.camelize()]}}else{if(document.defaultView.getComputedStyle){var C=(isNull(C.match(/-/)))?C.deCamelize():C;return document.defaultView.getComputedStyle(A,B).getPropertyValue(C)}}return""};getSheets=function(){if(document.styleSheets&&document.styleSheets[0]&&document.styleSheets[0].title!=null){return document.styleSheets}return null};getCookie=function(A,E,C,F,D,B){if(isCookie==false){return }E=" "+document.cookie+";";F=D=0;len=E.length;while(F<len){D=E.indexOf(";",F);C=E.substring(F+1,D);B=C.indexOf("=");if(C.substring(0,B)==A){return(unescape(C.substring(B+1,D-F-1)))}F=D+1}return("")};setCookie=function(B,C,A){if(isCookie==false){return }A=B+"="+escape(C)+"; ";A+="expires=Tue, 31-Dec-2030 23:59:59; ";document.cookie=A};clearCookie=function(A){if(isCookie==false){return }document.cookie=A+"=x; expires=Tue, 1-Jan-1980 00:00:00;"};