The IRS ruled that bitcoins and other cryptocurrencies are property, not currency. As such, you determine gain or loss in the same was as any other type of property. Compare what you paid for the bitcoins and what you received on the sale (making adjustments for commissions, etc.).
A retirement account to which up to $4,000 (or $5,000 if you are 50 or over) may be contributed for 2007, but deductions for the contribution are restricted if you are covered by a company retirement plan. Earnings accumulate tax free.