function getQueryVal(key) {
let query = window.location.search.substring(1);
let arr = query.split("&");
for (let i=0; i < arr.length; i++) {
let valArr = arr[i].split("=");
if(valArr[0] === key){return valArr[1];}
}
return(false);
}