query = new Object();
for (i = 0; p = window.location.search.split('&')[i]; i++) {if (/\??(.*)=(.*)/.test(p)) query[decodeURIComponent(RegExp.$1)] = decodeURIComponent(RegExp.$2)}
