title: Get root page url using Javascript
body: <p>i am developing facebook application, and i need to get the facebook root page url not iframe, all these methods: <code>document.location</code>,<code>window.location</code> and <code>top.location</code>... return the iframe url ( my hosting server ) not facebook url.</p>
  
  <p>any suggestions ?</p>