title: jquerymobile: determine device orientation
body: <pre><code>$(window).bind("orientationchange", function(e){
     var ow = (e.orientation=="portrait" ? "縦" : "横");
     alert("端末の向きは "+ow+" です。");
  });
  </code></pre>
  
  <p>using the above code, i could determine if the device is in portrait or landscape mode. But my question is, is it possible to determine which side on the landscape (landscape right/ landscape left) is the device tilted, also if the device is upsidedown?</p>
  
  <p>thanks guys for the support.</p>