Holy Mackeral, at those prices get both! Seriously your friend is giving you an offer of a lifetime.
I always thought, as did Thom Hogan recently, that the D700 is a great all around camera with sensor cleaning and a smaller form factor when that is important, if you could only have one camera. The D3 is the better cam though (AF, buffer, fps, ruggedness, etc.).