function showImagemapInfo (elementID) {
   activeElement = document.getElementById(elementID);
   AimcomTools.MouseLinker.link(activeElement);
   activeElement.style.visibility = "visible";
}

function hideImagemapInfo() {
   activeElement.style.visibility = "hidden";
   AimcomTools.MouseLinker.unlink();
}


/*** old script

var coord_x;
var coord_y;
var selected_box;

if (window.addEventListener) {
  window.addEventListener ("load", moveMouse, false);
} else if (window.attachEvent) {
  window.attachEvent ("on"+"load", moveMouse);
}


function moveMouse () {
  document.getElementById("imagemap").onmousemove = function (evt) {

    evt = (evt) ? evt : ((window.event) ? window.event : "");
    coord_x = evt.clientX;
    coord_y = evt.clientY + document.documentElement.scrollTop;

    moveImagemapInfo ();
  }
}

function moveImagemapInfo () {
  if (document.getElementById(selected_box)) {
    document.getElementById(selected_box).style.top = coord_y + 20 + "px";
    document.getElementById(selected_box).style.left = coord_x + 20 + "px";
  }
}

function showImagemapInfo (id) {
  selected_box = id;
  moveImagemapInfo ();
  document.getElementById(selected_box).style.visibility = "visible";
}

function hideImagemapInfo () {
  document.getElementById(selected_box).style.visibility = "hidden";
}

*/
