	/**
	 * This script is used to display an info box
	 *
	 * @author  Matthias Sojka
	 * @package Framework
	 * @version 0.02 / 30.04.2010
	 */

	function showInfoBox(id,sText,sTitle) {
	  if(sTitle == '') {
			sTitle = 'Information';
		}
		
		var aOffset = $('ac_'+id).cumulativeOffset();
		var mouseX  = parseInt(aOffset[0]) + 20;
		var mouseY  = parseInt(aOffset[1]) + 20;
		
		$('oInformationBoxText').update(sText);
		$('oInformationBoxTitle').update(sTitle);
		$('oInformationBox').style.top      = parseInt(mouseY)+'px';
		$('oInformationBox').style.left     = parseInt(mouseX)-200+'px';
		$('oInformationBox').style.display  = 'block';
	}
	
	function hideInfoBox() {
		$('oInformationBox').hide();
	}
