function overdis(text,width,height,background,border,font,style_class)
{
var IE = document.all ? true : false;
if (!IE) document.captureEvents(Event.MOUSEMOVE);
var pH = 0;
var pV = 0;
document.body.onmousemove = overdis_start;
function overdis_start(e) {


if (IE){
 pH = event.x + document.body.scrollLeft;
 pV = event.y + document.body.scrollTop;
} else{
 pH = e.pageX;
 pV = e.pageY;
}

if (pH < 0) pH = 0;
if (pV < 0) pV = 0;

pH += 5;
pV -= height;
pV -= 5;

  var dis = document.getElementById('dis');

   if (!dis)
   {
      var dis = document.createElement('div');
      dis.id = 'dis';

      dis.style.left = pH+'px';
      dis.style.top = pV+'px';
      dis.style.position = 'absolute';
      dis.style.zIndex = 1000000;
      dis.innerHTML = text;


      document.body.appendChild(dis);
   }
   else
   {
      dis.style.left = pH+'px';
      dis.style.top = pV+'px';
      dis.style.zIndex = 1000000;
      dis.innerHTML = text;
   }
   if (style_class != '')
      dis.className = style_class;
   else
      dis.className = null;

   if (width != '')
      dis.style.width = width+'px';
   else
      dis.style.width = null;
   if (height != '')
      dis.style.height = height+'px';
   else
      dis.style.height = null;
   if (background != '')
      dis.style.background = background;
   else
      dis.style.background = null;
   if (border != '')
      dis.style.border = '1px solid '+border;
   else
      dis.style.border = null;
   if (font != '')
      dis.style.color = font;
   else
      dis.style.color = null;
   if (text == '') document.body.removeChild(dis);
   

}
}

