este es el codigo actual, gracias por la ayuda.
Código:
<script type="text/javascript">
document.write('<form name="frmlogin" method="POST" action="http://www.********.com/login/Comprobarlogin.asp?segmento=V" target="EOLLOGIN" id="frmlogin">');
document.write(' <fieldset>');
document.write(' <legend>Rellene usuario y contraseña</legend>');
document.write(' <label for="usuario">Usuario <input type="text" title="Usuario" name="usuario" tabindex="1" id="usuario"></label>');
document.write(' <label for="password">Clave <input type="password" title="Clave" name="password" tabindex="2" id="password"></label>');
document.write(' <input type="submit" class="boton" id="enviarFormulario" title="Enviar" value="Enviar">');
document.write(' </fieldset>');
document.write('</form>');
document.frmlogin.onsubmit = function(){
window.open('','EOLLOGIN','toolbar=no,location=no,directories=no,menubar=no,width=1,height=1,fullscreen=no,top=3000,left=3000');
}
</script>

