//get query
var q = location.href.split("?")[1];
var f = q || "";
