function Querystring(h){this.params={};if(h==null){h=location.search.substring(1,location.search.length)}if(h.length==0){return}h=h.replace(/\+/g," ");var l=h.split("&");for(var k=0;k<l.length;k++){var i=l[k].split("=");var g=decodeURIComponent(i[0]);var j=(i.length==2)?decodeURIComponent(i[1]):g;this.params[g]=j}}Querystring.prototype.get=function(e,d){var f=this.params[e];return(f!=null)?f:d};Querystring.prototype.contains=function(d){var c=this.params[d];return(c!=null)};