title: iPhone accelerometer in web applications
body: <p>I want my website to change its layout according to the device positon. The site has 2 layout types: vertical(height > width) ang horizontal(width > height).</p>
  
  <p>do you see any solution?</p>
  
  <p><strong>upd</strong>: I don't see any complexity in changing the site layout. I want to know is there any event to handle.
  p.s. will iphone's browser change its orientation if i rotate the device 90 degree?
  Dave, tnx for emendation.</p>