/**
 * Object to read from the Querystring
 * The querystring can be overwrited by setting QueryString.qs
 */
var QueryString = {
	qs	: null,
	get : function(key, default_value) {
		if (this.qs === null) {
			this.qs = location.search.substring(1).replace(/\+/g, ' ');
		}
		var regexp = new RegExp(key + "s*=s*(.*?)(&|$)");
		var matches = this.qs.match(regexp);
		if ( matches ) {
			return unescape(matches[1]);
		} else {
			return default_value;
		}
	}
};