function Mouse() {
  this.posx = 0;
  this.posy = 0;
  this.container = null;
  this.poscontainer = null;
  this.svgOver = function(e) {}
  this.svgMove = function(e) {}
  this.svgOut  = function(e) {}
  this.init = function(containerId, posContainerId) {
    if (!document.getElementById || !document.addEventListener) {return false; }
    this.container = (containerId == null) ? document.body : document.getElementById(containerId);
    this.poscontainer = (posContainerId == null) ? document.body : document.getElementById(posContainerId);
    try {
      this.posx = document.getBoxObjectFor(this.poscontainer).x;
      this.posy = document.getBoxObjectFor(this.poscontainer).y;
    } catch( e ) {
      alert( this.poscontainer + ' : ' + e );
    }
    this.container.addEventListener('mouseover',this.svgOver,true);
    this.container.addEventListener('mousemove',this.svgMove,true);
    this.container.addEventListener('mouseout', this.svgOut, true);
    return true;
  }
};


