postids = ["1625", "1628", "1629", "1630", "1631", "1634", "1635", "1636", "1637", "1638", ""]; counts = ["4", "4", "1", "2", "1", "2", "2", "2", "2", "6", ""]; 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 = ["1624", "1636", "1638", ""]; tbcounts = ["4", "5", "1", ""]; tbstart = 0; tbend = 4; function trackbackCounter (postid) { for (i = tbstart; i < tbend; i++) { if (tbpostids[i] == postid) { document.write (tbcounts[i]); return } } document.write ("0"); return }