http://www.irs.gov/publications/p526/ar02.html#en_US_publink100049651
Contributions From Which You Benefit
If you receive a benefit as a result of making a contribution to a qualified organization, you can deduct only the amount of your contribution that is more than the value of the benefit you receive.
Also see Contributions From Which You Benefit under Contributions You Cannot Deduct, later.
If you pay more than fair market value to a qualified organization for merchandise, goods,
or services, the amount you pay that is more than the value of the item can be a charitable contribution. For the excess amount to qualify, you must pay it with the intent to make a charitable contribution.
Example 1.
You pay $65 for a ticket to a dinner-dance at a church. All the proceeds of the function go to the church. The ticket to the dinner-dance has a fair market value of $25. When you buy your ticket,
you know that its value is less than your payment. To figure the amount of your charitable contribution, you subtract the value of the benefit you receive ($25) from your total payment ($65).
You can deduct $40 as a charitable contribution to the church.
Example 2.
At a fund-raising auction conducted by a charity, you pay $600 for a week's stay at a beach house. The amount you pay is no more than the fair rental value.
You have not made a deductible charitable contribution.
Contributions From Which You Benefit
If you receive or expect to receive a financial or economic benefit as a result of making a contribution to a qualified organization, you cannot deduct the part of the contribution that represents the value of the benefit you receive. See Contributions From Which You Benefit under Contributions You Can Deduct, earlier. These contributions include the following.