postids = ["952", "953", "954", "957", "958", "965", "967", "971", "975", "977", "979", "980", "982", "985", "986", "987", "989", "999", "1000", "1001", "1005", "1008", "1010", "1012", "1015", ""]; counts = ["4", "3", "5", "5", "3", "1", "1", "3", "2", "4", "6", "1", "1", "3", "1", "3", "1", "1", "3", "4", "1", "2", "2", "2", "4", ""]; start = 0; end = 26; function commentCounter (postid) { for (i = start; i < end; i++) { if (postids[i] == postid) { document.write (counts[i]); return } } document.write ("0"); return } tbpostids = ["958", "959", "961", "963", "966", "973", "985", "988", "993", "1003", ""]; tbcounts = ["1", "5", "1", "2", "8", "318", "1", "1", "309", "2", ""]; tbstart = 0; tbend = 11; function trackbackCounter (postid) { for (i = tbstart; i < tbend; i++) { if (tbpostids[i] == postid) { document.write (tbcounts[i]); return } } document.write ("0"); return }