//the callback -- what do we do with the json response?
function get_delicious_count(info) { 
    var show_ele = document.getElementById("delicious");

	//get the number of saves
	if (!info || info.length == 0) {
	    show_ele.innerHTML = "0 bookmarks";
	    return false;
	}
	
	var num = info[0].total_posts;
	
	//if none, do nothing
	if(!num) {
	    show_ele.innerHTML = "0 bookmarks";
	} else {
	    if (num == 1) {
	        show_ele.innerHTML = "1 bookmark"
	    } else { 
	        show_ele.innerHTML = "" + num + " bookmarks";
	    }
	}
	
    return false;

}