$(function() {
	$(".tooltip").parent().mouseover(function(e){
		if($('.tooltip', this).html() != ""){
			$('.tooltip', this).css('left', (e.pageX+10) + "px").css('top', (e.pageY+10) + "px");
			$('.tooltip', this).show();
		}	
	}).mouseout(function(){
		$('.tooltip', this).hide();
	});
});
