postids = ["1456", "1458", "1461", "1462", "1464", "1466", "1469", "1471", "1472", "1473", ""]; counts = ["5", "2", "2", "0", "2", "8", "1", "6", "1", "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 = ["1460", "1462", "1464", "1465", "1466", "1467", "1471", "1472", ""]; tbcounts = ["1", "3", "2", "2", "1", "1", "2", "4", ""]; tbstart = 0; tbend = 9; function trackbackCounter (postid) { for (i = tbstart; i < tbend; i++) { if (tbpostids[i] == postid) { document.write (tbcounts[i]); return } } document.write ("0"); return }