// JavaScript Document
function show_help(e, help)
{

   /*  if (document.getElementById('help_div').firstChild.content)
    document.getElementById('help_div').firstChild.value = help;
  else*/
    /*var text = document.getElementById('help_div').firstChild;
    for (var i in text) {
      alert ( i + " = " + text[i] + "\n");
   }*/
  
  document.getElementById('help_div').firstChild.data = help;
  
  var myscroll_x = 0;
  var myscroll_y = 0;
	if (window.pageYOffset) // all except Explorer
	{
		myscroll_x = window.pageXOffset;
		myscroll_y = window.pageYOffset;
	}
	else if (document.documentElement && document.documentElement.scrollTop)
		// Explorer 6 Strict
	{
		myscroll_x = document.documentElement.scrollLeft;
		myscroll_y = document.documentElement.scrollTop;
	}
	else if (document.body) // all other Explorers
	{
		myscroll_x = document.body.scrollLeft;
		myscroll_y = document.body.scrollTop;
	}
  
  document.getElementById('help_div').style.top = e.clientY+myscroll_y+20+'px';
  document.getElementById('help_div').style.left = e.clientX+myscroll_x-20+'px';
  document.help_is_showed = true;
  document.getElementById('help_div').style.display = 'block';
}

function hide_help()
{
  document.getElementById('help_div').style.display = 'none';
  document.help_is_showed = false;
}

