mira esto creo que es definitivo
![sonrisota](http://static.forosdelweb.com/fdwtheme/images/smilies/xD.png)
![sonrisota](http://static.forosdelweb.com/fdwtheme/images/smilies/xD.png)
![sonrisota](http://static.forosdelweb.com/fdwtheme/images/smilies/xD.png)
si te sirve lo adapto (por ahora funciona con la opción 1)
<html>
<head>
<script type="text/javascript">
function popupenter(e) {
tecla = (document.all) ? e.keyCode : e.which;
a = document.getElementById("nombre").value;
if(a=="30000000" | a=="3000000" | a=="300000"| a=="30000"| a=="3000" && tecla==13 ){
window.open('1.html','','width=200,height=200 ');
}
}
</script>
</head>
<body>
<input type="text" id="nombre" onkeypress="popupenter(event)" />
</body>
</html>