$(function() {

$('.tt_rollover').mouseenter(function(e) {
$('#tooltip2content').removeAttr("id");
     var pos =$(this).position();
	 var title = $(this).attr('title');
	 $('#tooltip').html(title);
	 $('#tooltip').css('display', 'block');
	 $('#tooltip').css({
                'top':pos.top- ( $('#tooltip').height() + 50 ),
                'left': pos.left- ( $('#tooltip').width() + 50 )
            })
});
$('.tt_rollover').mouseout(function(e) {
 $('#tooltip').css('display', 'none');
});
/*$(document).ready(function(){
	var text = '';
	function hideTip_sz(obj) {
		obj.attr('title', text);
		$('#tooltip').css('display', 'none');
	}
	var toolTipOver_sz = false;
	function showTip_sz(obj, e) {
		$('#tooltip').css('dislay', 'block');
		text = obj.attr('title');
obj.attr('title', '');
		$('#tooltip').html(text);
		$('#tooltip').css('display', 'block');
		$('#tooltip').css('left', e.pageX - $('#tooltip').get(0).offsetWidth - 5 + 'px');
		$('#tooltip').css('top', e.pageY - $('#tooltip').get(0).offsetHeight - 5 + 'px');
	}	
	$('.tt_rollover').hover(function(e) {
		
		var handle = $(this);
		$(this).css('cursor', 'default');
		showTip_sz(handle, e);	
	}, function() {
		hideTip_sz($(this));
	});*/
});
