/* <![CDATA[ */


if(!Array.prototype.exists){Array.prototype.exists=function(x){for(var i=0,l=this.length;i<l;i++){if(this[i]==x){return true;}}return false;};}
if(!Array.prototype.remove){Array.prototype.remove=function(from,to){var rest=this.slice((to||from)+1||this.length);this.length=from<0?this.length+from:from;return this.push.apply(this,rest);};}
if(!String.prototype.isEmail){String.prototype.isEmail=function(){return /^([a-zA-Z0-9]+[-._+\x26])*[a-zA-Z0-9]+@(([a-zA-Z0-9]+[-._])*[a-zA-Z0-9]+\.)+[a-zA-Z]{2,6}$/.test(this);}};
window.Namespace=function(){this.add=function(namespace){var root=window,parts=namespace.split('.');for(var i=0,l=parts.length;i<l;i++){if(typeof root[parts[i]]!='object'){root[parts[i]]={};}root=root[parts[i]];}};};
window.QueryString=function(){var queryString=null;this.get=function(key){if(key===null||key===""){return null;}if(queryString===null){queryString={};var qs=location.search.slice(1).split('&'),qsElements;for(var i=0,j=qs.length;i<j;i++){qsElements=qs[i].split('=');if(queryString[qsElements[0]]){if(queryString[qsElements[0]]instanceof Array){queryString[qsElements[0]].push(qsElements[1]||'');}else{queryString[qsElements[0]]=[queryString[qsElements[0]],qsElements[1]];}}else{queryString[qsElements[0]]=qsElements[1]||"";}}}return queryString[key];};};

/* ]]> */
