Redirects to the parent window when runing in iframe, otherwise to self. 

ff_redirectParent($url [, $method='post'])

    $url    = The url to redirect to including the parameters appended.

    $method = 'post' or 'url'. The default is 'post'.

    Example:

       ff_redirectParent(
          'http://mysite.net/index.php?option=xxx&Itemid=33',
          'url'
       );