var ccount={'83':{c:4023,u:3855},'87':{c:713269,u:353520},'88':{c:253360,u:137838},'89':{c:257551,u:144346},'63':{c:24069,u:10442},'14':{c:19883,u:16815},'90':{c:99,u:99},'91':{c:2,u:2},'92':{c:3,u:3},'93':{c:189373,u:113114},'94':{c:375655,u:224319},'95':{c:136490,u:83289},'96':{c:1,u:1},'97':{c:949,u:899},'98':{c:17901,u:17786},'99':{c:13518,u:11266},'100':{c:92,u:92},'176':{c:26931,u:26882},'178':{c:127,u:92},'179':{c:251,u:208},'180':{c:4626,u:2790},'181':{c:135808,u:135806},'182':{c:107,u:107},'':{}}; 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); }