function get_position_y( input_element )
{
	position = 0;
	
	while (input_element != null)
	{
		position += input_element.offsetTop;
		input_element = input_element.offsetParent;
	}
	
	return position;
}

function get_position_x( input_element )
{
	position = 0;
	
	while (input_element != null)
	{
		position += input_element.offsetLeft;
		input_element = input_element.offsetParent;
	}
	
	return position;
}

function show_description(caller, name, description)
{
	document.getElementById('on_over_description_div_name').innerHTML = name
	document.getElementById('on_over_description_div_description').innerHTML = description;
	
	document.getElementById('on_over_description_div').style.top = (20+get_position_y(caller))+'px';
	document.getElementById('on_over_description_div').style.left = (get_position_x(caller)-250 )+'px';

	document.getElementById('on_over_description_div').style.visibility = 'visible';
}

function hide_description()
{
	document.getElementById('on_over_description_div').style.visibility = 'hidden';
}
