var i = 0;
$(function() {
$('.divine').live("click",function() {
i++;
var ID = $(this).attr("id");
if(ID) {
$("#divine"+ID).html('
');
$.ajax({
type: "POST",
url: "./nextWorldResultAjax.cgi?lang=en",
//data: "page="+ ID,
data: "counter="+ i,
cache: false,
success: function(html){
$("#dBox").append(html).fadeIn(200);
$("#divine"+ID).remove();
}
});
} else {
$(".divinebox").html('The End');
}
return false;
});
});