How many ordered pairs (b,g) of positive integers with 4\le b\le g\le2007 are there such that when b black balls and g gold balls are randomly arranged in a row, the probability that the balls on each end have the same color is \frac12?
Answer Choices
A. 60
B. 62
C. 58
D. 61
E. 59