Fiddling around with device orientation..code snippets for playing around with this technology is used from a blog post i seen on html5rocks: http://www.html5rocks.com/en/tutorials/device/orientation/
Base version: the code is as it is from the html5rocks blog post, no changes just looking through the code