This project sounds simple, but it's really not that simple.
Make a button that will minimize the browser window, just the same way as the minimize button in the top right courner of the browser does.
Here is the tough part. This has to work on the Latest version of IE and Firefox, and preferable as many browsers and platforms as possible.
Same as above but now the button should close the browser window.