jQuery.fn.Calendar = function(e) {
   var $form = this;
   var tip = null;
   $("*[title]", $form).each(function(){
   	
    $(this).hover(
		function(e){
     		tip = $('<span class="tooltip"></span>');
     		$(tip).remove();
     		$(".tooltip").remove();
     		$(document.body).append( $(tip) );
     		$(".tooltip b").bgiframe();
     		$(tip).append("<b>"+$(this).attr('title')+"</b>" );
		     var po_x = $(this).offset().left;
		     var po_y = $(this).offset().top;
		     var at_w = $(this).width()+ 50;
		     $(".tooltip").css("left", po_x);
		     $(".tooltip").css("top", po_y-35);
    }, function(){
     if (tip) {
     	$(tip).text('');      
      $(".tooltip").remove();
      tip = null;
     }
     return;
    });
    
   }); 
};

