(function($) {
    $.fn.tclouds = function() {	
        var tcEl = this;	
		$('body').append('<div id="tc"/>');
		$(document).mousemove(function(mTC){
			$("#tc").css({top:(mTC.pageY+15)+"px",left:(mTC.pageX+12)+"px"});
		});
		tcEl.each(function(){
		   var el = $(this);
		   var ti = el.attr('title');   
		   el.hover(function(){
				$('#tc').fadeTo(300, 1).html( ti );        
				el.attr('title', '');
			},function(){
				$('#tc').hide().html('');
				el.attr('title', ti);
			});
		});
    };
})(jQuery);







$(document).ready(function(){
	$('[title]').tclouds();
});

