// Inserimento automatico in un frame
if (top.location.pathname != '' && top.location.pathname != '/' && top.location.pathname != '/index.php' && top.location.pathname != '/forum/sendmessage.php' && top.location.pathname != '/forum/misc.php') {
    top.location.replace('/?'+location.href.replace('?', '$'));
}