Should talk to your local tax office. In some states you can take the receipt from the sale to carmax and they will allow that value to count as a deduction on the new purchase for tax purposes. It varies by state though and adds a little paperwork but you might be able to preserve the tax...