How do I clean the glass on a toaster oven?

Toaster ovens always get disgusting and the glass always turns a brown color after awhile. You can never get it clean and clear. I hate these things for that reason, but always get them just out of their sheer convenience. Anyone have any ideas?