this.eventlisting = 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 */		
	$("li.eventlisting").hover(function(e){											  
		this.t = this.title;
		this.title = "";									  
		$("body").append("<div class='eventpopup'>"+ this.t +"</div>");
		$(".eventpopup")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");		
    },
	function(){
		this.title = this.t;		
		$(".eventpopup").remove();
    });	
	$("li.eventlisting").mousemove(function(e){
		$(".eventpopup")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};



// starting the script on page load
$(document).ready(function(){
	eventlisting();
});