function hd_click_event (e) {
  var targ;
  if (!e) e = window.event;
  if (e.target) targ = e.target;
  else if (e.srcElement) targ = e.srcElement;
  if (targ.nodeType==3) // defeat Safari bug
    targ = targ.parentNode;
  if (targ.tagName=="A") {
	document.getElementById("click_shield").style.display="block";
  }
  else if (targ.id=="click_shield") {
	document.getElementById("click_prompt").style.display="block";
  }
  return true;
}

function hd_cancel_request ()
{
  document.getElementById("click_shield").style.display="none";
  document.getElementById("click_prompt").style.display="none";
  if (window.stop) window.stop();
  else if (document.execCommand) document.execCommand('Stop');
}
