$(document).ready(function(){
	$('span.report') .click (function() { //wywolanie skryptu generujacego raport
		$('span.report').html("[...]");
		myid = this.id;
		$.get("http://katalogaptek.pl/mailer_reports.php", { mid: myid, ile: "100" }, function(data) {
			$('span.report').html("[GOTOWE!]");
			$('span.report').fadeOut(3000);
		});
	});
});