this.screenshotPreview = function(){	
	/* CONFIG */
		
		xOffset = 10;
		yOffset = 30;
		
		// these 2 variable determine popup's distance from the cursor
		// you might want to adjust to get the right result
		
	/* END CONFIG */
	$("a.screen").hover(function(e){
		this.t = this.title;
		this.title = "";	
		var c = (this.t != "") ? "<br/>" + this.t : "";
		var l = this.href;
		if(this.name !== "") { l = this.name; };
		$("body").append("<p id='screen'><img src='http://image.thumber.de/?size=XXL&amp;img=http://godl.de/i/icon/014.gif&amp;url="+ l +"' alt='Lade ...' />"+ c +"</p>");								 
		$("#screen")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");						
    },
	function(){
		this.title = this.t;	
		$("#screen").remove();
    });	
	$("a.screen").mousemove(function(e){
		$("#screen")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};


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