When a rectangle frames a parabola such that a side of the rectangle is parallel to the parabola's axis of symmetry, the parabola divides the rectangle into regions whose areas are in the ratio $2$ to $1$. How many integer values of $k$ are there such that $0<k\leq 2007$ and the area between the parabola $y=k-x^2$ and the $x$-axis is an integer?

Let's think step by step and output the final answer within \boxed{}.
user