postids = ["2550", "2553", "2557", "2558", "2562", "2565", "2567", "2570", "2571", "2573", ""]; counts = ["1", "2", "3", "1", "3", "9", "1", "3", "2", "2", ""]; 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 = [""]; 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 }