function getUrl() {
  var location = document.location.href.split("?");
  var locpath  = location[0];
  return locpath;
}


