The zany hat Princess Beatrice wore to Britain’s royal wedding last month, is up for sale for £20,200, or more than $30,000 on eBay.

The hat drew a lot of attention from the media as it looked like a toilet seat. Beatrice has donated the hat to charity and the money raised by the sale of the hat will benefit UNICEF and Children in Crisis.

I've been amazed by the amount of attention the hat has attracted, Beatrice wrote on the eBay listing. It's a wonderful opportunity to raise as much money as possible for two fantastic charities. I hope whoever wins the auction has as much fun with the hat as I have.

The hat, by milliner Philip Treacy, has a starting bid of £5,000. Treacy said he was delighted, flattered and touched by HRH Princess' Beatrice's decision to donate the hat to charity.

The eBay site has linked the auction page to Facebook. The auction continues until May 22.