

function essClick(goToUrl, trackUrl, target) {
$.ajax({
  type: "GET",
  url: trackUrl,
  dataType: "text",
complete: function() { if(target) { window.open(goToUrl, target); } else { window.location.href = goToUrl; } },
timeout: 2000
});
return false;
}

function essActivateClickTracking(trackUrl) {
$.ajax({
  type: "GET",
  url: trackUrl,
  dataType: "text",
complete: function() { return; },
timeout: 2000
});
return false;
}

function essHandleKP(e, elementId) {
    if(window.event && window.event.keyCode == 13 || e && e.keyCode == 13) {
        document.getElementById(elementId).click();
        return false;
    }
    
    return true;
}