//NOTE FROM THE MOLITOR: "$" was replaced with "jQuery" to accomodate other libraries using the jQuery no conflict function. To reverse/remove this, simply replace every instance of "jQuery" with "$" and remove all instances of "jQuery.noConflict();". That's it ;-) ----------------------

/* Tooltip from CSS Globe written by Alen Grakalic (http://cssglobe.com)----------  */
this.tooltip = function(){	
	/* CONFIG */		
		xOffset = 0;
		yOffset = 10;		
		// these 2 variable determine popup's distance from the cursor
		// you might want to adjust to get the right result		
	/* END CONFIG */		
	jQuery.noConflict();
  jQuery("a.tooltip").hover(function(e){											  
		this.t = this.title;
		this.title = "";									  
		jQuery("body").append("<p class='itooltip'>"+ this.t +"</p>");
		jQuery(".itooltip")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn(300);		
    },
	function(){
		this.title = this.t;		
		jQuery(".itooltip").remove();
    });	
	jQuery("a.tooltip").mousemove(function(e){
		jQuery(".itooltip")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};

jQuery.noConflict();
  jQuery(document).ready(function(){
	tooltip();
});