title: redirect if the page is iframe
body: <p>Here is what i want to do:</p>
  
  <p>in my blog, comments are shown in a <a href="http://fancyapps.com/fancybox/" rel="nofollow">fancybox</a> popup using iframe. (eg:- for the post number 2, comments link open an iframe fancybox <code>comments.php?id=2</code>)</p>
  
  <p>I want to check whether comments.php is loaded in an iframe and if not, redirect to the respective blog page. i.e. <code>post.php?id=2</code> </p>
  
  <p>I checked Google and other sites incl. stackoverflow. but no use. pls help. (this seems to be easy. but it ain't working <a href="http://www.onlineaspect.com/2009/06/10/reading-get-variables-with-javascript/" rel="nofollow">http://www.onlineaspect.com/2009/06/10/reading-get-variables-with-javascript/</a></p>