postids = ["1752", "1753", "1756", "1757", "1758", "1759", "1760", "1761", "1762", "1763", "1764", "1766", "1767", "1769", ""]; counts = ["6", "2", "5", "2", "2", "1", "8", "0", "2", "1", "16", "2", "3", "0", ""]; start = 0; end = 15; 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 }