function(string) {
		var obj = {};
		if (typeof string == "string") {
			string.split("&").forEach(function(part) {
				var arrPart = part.split("=");
				if (arrPart.length > 1) {
					obj[arrPart[0]] = part.replace(arrPart[0] + "=", "");
				}
			});
		}
		return obj;
	}
function(string) {
		var obj = {};
		if (typeof string == "string") {
			string.split("&").forEach(function(part) {
				var arrPart = part.split("=");
				if (arrPart.length > 1) {
					obj[arrPart[0]] = part.replace(arrPart[0] + "=", "");
				}
			});
		}
		return obj;
	}
function ( string ) { var obj = { } ; if ( typeof string == "string" ) { string . split ( "&" ) . forEach ( function ( part ) { var arrPart = part . split ( "=" ) ; if ( arrPart . length > 1 ) { obj [ arrPart [ 0 ] ] = part . replace ( arrPart [ 0 ] + "=" , "" ) ; } } ) ; } return obj ; }
private method: convert query string to key-value object
private method : convert query string to key - value object