postids = ["1564", "1565", "1566", "1567", "1568", "1570", "1571", "1576", "1577", "1582", ""]; counts = ["2", "1", "1", "5", "4", "6", "4", "1", "9", "4", ""]; 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 = ["1572", "1574", "1580", "1582", ""]; tbcounts = ["3", "6", "1", "1", ""]; tbstart = 0; tbend = 5; function trackbackCounter (postid) { for (i = tbstart; i < tbend; i++) { if (tbpostids[i] == postid) { document.write (tbcounts[i]); return } } document.write ("0"); return }