var ccount={'83':{c:3999,u:3831},'87':{c:708250,u:349652},'88':{c:251164,u:135990},'89':{c:256050,u:142944},'63':{c:24047,u:10423},'14':{c:19862,u:16794},'90':{c:92,u:92},'91':{c:2,u:2},'92':{c:3,u:3},'93':{c:187487,u:111453},'94':{c:353100,u:210285},'95':{c:136485,u:83284},'96':{c:1,u:1},'97':{c:918,u:868},'98':{c:17148,u:17037},'99':{c:12492,u:10269},'100':{c:80,u:80},'176':{c:26815,u:26777},'178':{c:127,u:92},'179':{c:250,u:207},'180':{c:4616,u:2780},'181':{c:135808,u:135806},'182':{c:56,u:56},'':{}}; function ccount_display(id) { document.write(ccount[id]['c'].formatThousands('UK')); } function ccount_unique(id) { document.write(ccount[id]['u'].formatThousands('UK')); } Number.prototype.formatThousands = function(notation) { var n = this, separator = ""; switch (notation) { case "US": separator = ","; break; case "UK": separator = "."; break; case "FR": separator = " "; break; default: return n; } n = parseInt(n) + ""; j = (j = n.length) > 3 ? j % 3 : 0; return (j ? n.substr(0, j) + separator : "") + n.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + separator); }