d = '0'; //"";
function savefootprint(count) {
if (!currbook.bookid || currbook.bookid == 0) {
//no book-id, wrong paratter
return;
}
if (count > 3) {
return;
}
jquery.ajax({
url: doin.bookhostna + "/ajax/user.footprint.save.do?bookid=457720&chapterid=34085500§ionid=0",
data : currbook,
processdata: false,
datatype: "jsonp",
suess: function(data){
if(data && data.length > 0) {
//suess, do nothing.
} else {
//fail, will try 2 tis. then end
savefootprint(count + 1);
}
}
});
}
jquery(docunt).ready(function() {
var _keyfootprint = 'tefootprint';
if (window.user == null ||