function get_path() {
  if (document.location.pathname != undefined) {
    return document.location.pathname.replace( /[<]/g, "&lt;").replace(/[>]/g, "&gt;");
  } else {
    return "&nbsp;";
  }
}

function get_host() {
  if (window.location.hostname != undefined) {
    return window.location.hostname.replace( /[<]/g, "&lt;").replace(/[>]/g, "&gt;");
  } else {
    return "&nbsp;";
  }
}

$(function() {
    if (pageData.actionText) {
        $('#action').html(pageData.actionText).fadeIn();
    }
});
