";
}
/* from http://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript?lq=1 */
function getParameterByName(name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^]*)"),
results = regex.exec(location.search);
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}
function updateFromUrl() {
var subs;
var key;
subs = '13';
key = 'trackin-o1QJ1smIdsBbtZ23dmvpVNKfa23QzOoF0Ok5mLXraiQ';
document.getElementById('subs').value = getParameterByName('subs') || subs;
document.getElementById('key').value = getParameterByName('key') || key;
}
updateFromUrl();