this.showTagTimeTooltip = function(){
/* CONFIG */
	xOffset = 10;
	yOffset = 30;
	
	tagtime_dir = 'http://www.donvanone.de/wp-content/plugins/tagtime/';

// these 2 variable determine popup's distance from the cursor
// you might want to adjust to get the right result

/* END CONFIG */
	jQuery('.donstag').hover(function(e){
		$splittedURL = this.href.split("/");
		this.t = this.title;
		this.title = ""; 
		$tagname = "";
		if ($splittedURL[$splittedURL.length-1] == "") {
			$tagname = $splittedURL[$splittedURL.length-2];
		} else {
			$tagname = $splittedURL[$splittedURL.length-3];
		}
		
	
		jQuery("body").append("<p id='tagTimeTooltip'><img src='http://www.donvanone.de/wp-content/plugins/tagtime/wait20.gif' /></p>");
		new Ajax.Updater('tagTimeTooltip',tagtime_dir + 'getImageRemote.php?tagTimeTag='+$tagname);
		
		jQuery("#tagTimeTooltip")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.css("position","absolute")
			.css("border","1px solid #777")
			.css("padding","2px")
			.css("background-color","white")
			.fadeIn("fast");
	},
	function(){
	    this.title = this.t;
		jQuery("#tagTimeTooltip").remove();
	});
	jQuery('.donstag').mousemove(function(e){
		jQuery("#tagTimeTooltip")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});
};


// starting the script on page load
jQuery(document).ready(function(){
	showTagTimeTooltip();
});