postids = ["1298", "1299", "1301", "1304", "1305", "1306", "1308", "1309", "1312", "1313", ""]; counts = ["8", "1", "1", "3", "7", "6", "3", "6", "5", "1", ""]; start = 0; end = 11; function commentCounter (postid) { for (i = start; i < end; i++) { if (postids[i] == postid) { document.write (counts[i]); return } } document.write ("0"); return } tbpostids = ["1295", "1299", "1300", "1301", "1303", "1305", "1307", "1308", "1309", "1311", ""]; tbcounts = ["4", "100", "116", "119", "6", "306", "20", "65", "132", "155", ""]; tbstart = 0; tbend = 11; function trackbackCounter (postid) { for (i = tbstart; i < tbend; i++) { if (tbpostids[i] == postid) { document.write (tbcounts[i]); return } } document.write ("0"); return }