postids = ["1418", "1420", "1421", "1424", "1425", "1427", "1428", "1429", "1430", "1434", ""]; counts = ["2", "3", "4", "13", "5", "2", "7", "9", "17", "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 = ["1421", "1428", "1430", ""]; tbcounts = ["1", "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 }