/* ab hier validierung von felix */
function show_tooltip(id, text) {
	var element = $('#'+id);
	var offset = $(element).offset({ scroll: false });

	var windowOffset = $(window).height();

	var hint = '<div class="h" style="top:-800px;left:' + (offset.left - 17) + 'px"><div class="head">&nbsp;</div><div class="body">' + text + '</div><div class="foot">&nbsp;</div></div>';


	$(document.body).append(hint);
	var new_height = $('div.h').height() - 2;

	$('.h').css({
		'top':  offset.top - (new_height) + 'px'
	});

}

function hide_tooltip() {
	$('div.h').remove();
}
