postids = ["1948", "1949", "1950", "1951", "1952", "1955", "1956", "1957", "1958", "1959", "1961", "1962", "1963", "1964", ""]; counts = ["7", "4", "3", "22", "3", "9", "1", "1", "1", "3", "6", "2", "2", "5", ""]; 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 }