Everything you ever wanted to know about bathroom windows on airplanes.
www.popsci.com
I actually came across this on a flight I took over five years ago (I don't remember what kind of plane it was) but it also had a window in the washroom. Only once though; never could understand what the heck that was doing there (something to look at while one is doing a 'number one' [guys lol]?).