postids = ["1358", "1359", "1362", "1365", "1367", "1368", "1369", "1370", "1372", "1373", "1375", ""]; counts = ["2", "2", "3", "2", "4", "5", "1", "1", "4", "2", "2", ""]; start = 0; end = 12; function commentCounter (postid) { for (i = start; i < end; i++) { if (postids[i] == postid) { document.write (counts[i]); return } } document.write ("0"); return } tbpostids = ["1359", "1365", "1366", ""]; tbcounts = ["6", "2", "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 }