

this.jargonPreview = function(){	
	/* CONFIG */
		
		xOffset = 60;
		yOffset = 0;
		
		// these 2 variable determine popup's distance from the cursor
		// you might want to adjust to get the right result
		
	/* END CONFIG */
	$("a.jargon_tip_item").hover(function(e){
		
		this.t = this.title;
		this.title = "";	
		var c = (this.t != "") ? "<br/>" + this.t : "";
		$("body").append("<p id='jargon_tip'></p>");
		$("#jargon_tip").load("/gocc/jargon.aspx", {id : this.rel});
		
		$("#jargon_tip")
			.css("top",(e.pageY + yOffset - 190 )  + "px")
			.css("left",(e.pageX + xOffset)  + "px")
			.fadeIn("fast");						
    },
	function(){
		this.title = this.t;	
		$("#jargon_tip").remove();
    });	
	$("a.jargon_tip_item").mousemove(function(e){
		$("#jargon_tip")
			.css("top",(e.pageY + yOffset - 190 ) + "px")
			.css("left",(e.pageX + xOffset ) + "px");
	});			
};

