//-- Redirection vers mainFrame
if (top == self || (parent.frames[2].name != 'mainFrame'))
    top.location.href = '../index.php?' + location.href;


