postids = ["818", "823", "824", "825", "827", "828", "831", "832", "833", "834", "835", "836", "838", "839", "840", "841", "845", "846", "847", "849", "851", "852", "853", "854", "856", "857", "860", "861", "862", ""]; counts = ["1", "9", "6", "2", "1", "2", "2", "3", "1", "3", "4", "1", "5", "4", "2", "7", "1", "3", "6", "3", "2", "1", "6", "7", "3", "6", "3", "2", "1", ""]; start = 0; end = 30; function commentCounter (postid) { for (i = start; i < end; i++) { if (postids[i] == postid) { document.write (counts[i]); return } } document.write ("0"); return } tbpostids = [""]; tbcounts = [""]; tbstart = 0; tbend = 1; function trackbackCounter (postid) { for (i = tbstart; i < tbend; i++) { if (tbpostids[i] == postid) { document.write (tbcounts[i]); return } } document.write ("0"); return }