$(function(){var b=$.event.props,c=b.length,d=[];while(c--){var a=b[c];a!="layerX"&&a!="layerY"&&d.push(a)}$.event.props=d});var True=true,False=false,Xml={load:function(b,c){var a=null;if(window.ActiveXObject){a=new ActiveXObject("Microsoft.XMLDOM");a.async=false;a.load(b);c(a)}else{a=document.implementation.createDocument("","",null);a.load(b);a.onload=c.handle(null,a)}},parse:function(b){var a=null;if(window.ActiveXObject){a=new ActiveXObject("Microsoft.XMLDOM");a.async="false";a.loadXML(b)}else{var c=new DOMParser;a=c.parseFromString(b,"text/xml")}return a},toString:function(a){return window.ActiveXObject?a.xml:(new XMLSerializer).serializeToString(a)}};$.ajaxSetup({traditional:true});$.unparam=function(e){for(var b={},d=e.split("&"),c=0;c<d.length;c++){var a=d[c].split("=");a[0]=decodeURIComponent(a[0]);a[1]=decodeURIComponent(a[1]);if(typeof b[a[0]]==="undefined")b[a[0]]=a[1];else if(typeof b[a[0]]==="string"){var f=[b[a[0]],a[1]];b[a[0]]=f}else b[a[0]].push(a[1])}return b};$.cookie=function(d,c,a){if(typeof c!="undefined"){a=a||{path:"/"};if(c===null){c="";a.expires=-1}var h="";if(a.expires&&(typeof a.expires=="number"||a.expires.toUTCString)){var b;if(typeof a.expires=="number"){b=new Date;b.setTime(b.getTime()+a.expires*24*60*60*1e3)}else b=a.expires;h="; expires="+b.toUTCString()}var l=a.path?"; path="+a.path:"",j=a.domain?"; domain="+a.domain:"",k=a.secure?"; secure":"";document.cookie=[d,"=",encodeURIComponent(c),h,l,j,k].join("")}else{var f=null;if(document.cookie&&document.cookie!="")for(var g=document.cookie.split(";"),e=0;e<g.length;e++){var i=jQuery.trim(g[e]);if(i.substring(0,d.length+1)==d+"="){f=decodeURIComponent(i.substring(d.length+1));break}}return f}};$.inherit=function(d,a,c){for(var b in d)if(c==null||c||a[b]!=null)a[b]=d[b];return a};__testHeight_div=null;$.testHeight=function(b,a){if(!__testHeight_div)__testHeight_div=$("<div style='width:1px; height:1px; overflow:hidden;'><div style='visibility:hidden; position:absolute; z-index:-999; top:0; left:0'></div></div>").appendTo(document.body).children(":first");__testHeight_div.width(a)[0].innerHTML=b;var c=__testHeight_div.height();__testHeight_div.html("");return c};$.inherit({_scriptManager:{},_cssManager:{},loadScript:function(b,c,a){$(function(){if($._scriptManager[b]==null)$.getScript(c,function(){$._scriptManager[b]=true;$.isFunction(a)&&a()});else $.isFunction(a)&&a()})},loadCss:function(b,c,a,d){$(function(){if($._cssManager[b]==null)if(d){if(!$._cssManager[b]){$._cssManager[b]=true;var e=document.createElement("link");e.setAttribute("rel","stylesheet");e.setAttribute("type","text/css");e.setAttribute("href",c);document.getElementsByTagName("head")[0].appendChild(e)}$.isFunction(a)&&a()}else $.get(c,function(c){$("<span style='display:none !important'></span>").attr("cssname",b).html("<style>"+c+"</style>").appendTo(document.body);$._cssManager[b]=true;$.isFunction(a)&&a()});else $.isFunction(a)&&a()})}},jQuery);
