//-- Redirection vers mainFrame

if (top == self) 
    top.location.href = 'index.php';


