working with windows

http://www.learningtitanium.com/snippets/using-windows-in-titanium.html