For anyone else coming across the thread: the limits for contributions are $17,000 ($17,500 in 2013) for 401k accounts, and $5,000 ($5,500 in 2013) for IRA accounts. You can contribute up to the max in each of them, but no matter how many 401k accounts or IRAs you have open in total you can't contribute more than the limit between all of them.
There are also other plans, like 457s, that have additional contributions allowed into them, so if it applies to you, you may be able to do $17k into a 401k, $17k into a 403b, and $5k into an IRA. Also, if you're over 50, you can put a specified extra amount in as a "catch-up" contribution.