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