//get parameter value by query name from the link
function GetParameterValues(param) {
var url = window.location.hash.slice(window.location.hash.indexOf('?') + 1).split('&');
for (var i = 0; i < url.length; i++) {
var urlparam = url[i].split('=');
if (urlparam[0] == param) {
return urlparam[1];
}
}
}
//get parameter value by query name from the link
function GetParameterValues(param) {
var url = window.location.search.slice(window.location.search.indexOf('?') + 1).split('&');
for (var i = 0; i < url.length; i++) {
var urlparam = url[i].split('=');
if (urlparam[0] == param) {
return urlparam[1];
}
}
}