(function($){
		xOffset = -9; 
    yOffset = 9; 
    //pay attention to format style
    defaults = {
    	width:"",
    	height:"",	
    	titleColor:"#fff"
    };
		$.fn.ltTips = function(options) {
			options = $.extend(defaults, options);
			return this.each(function(){
				$('a').unbind().hover(    
	        function(e) {
	            this.t = this.title;
	            this.title = ''; 
	            this.top = (e.pageY + yOffset); this.left = (e.pageX + xOffset);
	            $('body').append( '<p id="vtip"><span style="background:'+ options.titleColor +';padding-top:6px;-moz-border-radius-topleft:6px;-moz-border-radius-topright:6px;-webkit-border-top-left-radius:6px;-webkit-border-top-right-radius:6px;" id="tipContent">' 
	            		+ this.t + '</span><br /><span id="tipContent" style="padding-bottom:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-bottomright:6px;-webkit-border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;">' + this.href + '</span></p>' );
	            $('p#vtip').css({'width':options.width,'height':options.height,'box-shadow':'10px 10px 25px #ccc','opacity': 1.0,
	            			"display": "none", "position": "absolute", "padding": "0px", "left": "5px", 
										"font-size": "0.8em", "background-color": "#fff","border": "1px solid #000","font-size":"14px",
										"-moz-border-radius": "6px", "-webkit-border-radius": "6px", "z-index": 9999});
	           	$('p#vtip #tipContent').css({"min-height":'20px',"min-width":'150px',"display":'block','padding-left':'8px',
	           															'padding-right':'8px'})
	            $('p#vtip').css("top", this.top+"px").css("left", this.left+"px").fadeIn("slow");
	            
	        },
	        function() {
	            this.title = this.t;
	            $("p#vtip").fadeOut("slow").remove();
	        }
    		).mousemove(
	        function(e) {
	            this.top = (e.pageY + yOffset);
	            this.left = (e.pageX + xOffset);
	            $("p#vtip").css("top", this.top+"px").css("left", this.left+"px");
       	 }
        );            
			});
		}
})(jQuery);
$(document).ready(function(){$('#title').ltTips({"titleColor":"#ccc"});});
