function absPosition(obj) {
	var x = y = 0;
	while(obj) {
		x += obj.offsetLeft;
		y += obj.offsetTop;
		obj = obj.offsetParent;
	}
	return {x:x, y:y};
}

function showBigPicture(el) {
    var pos = absPosition(el);
    var image = new Image();
    image.src = el.src;
    var width = Math.round(el.width/2);
    var height = Math.round(el.height/2);
    $("body").append("<div id=big_img></div>");
    $("#big_img").hide();
    $("#big_img").css({position: "absolute", top: pos.y - height, left: pos.x - width});
    $("#big_img").css("z-index", "999");
    $("#big_img").fadeIn();
    $("#big_img").append(image);
    $("#big_img").mouseout(function() {$("#big_img").remove()});
}