grazie andrea,
ma se non è abilitato, come fa a fare un document.location.href ???