Hate to beat a dead horse here but I agree with everything above. Some of the other things to consider are the intangibles you will get from Company 1 over Company 2. Is their training better? Will you be working with industry leaders? In some fields some of the biggest and best companies to work for pay "average" in salary because they know that 5-10k for a junior isn't as important as establishing yourself and getting a good foundation. Think longterm and don't be short sighted.
Ultimately make sure you are being paid what you are worth (or what you think you are worth).
__________________
|