Muchas gracias por tu restpuesta

Acabo de intentarlo, tu style y tu style con mi script pero me sigue pasando lo mismo.
Con tu style no hace nada :S y con mi script y tu style sigue haciendo lo mismo, se abre la ventana en 1024x768 y cuando le doy en el explorador al boton maximizar se vuelve a expandir :S
Muchas gracias por tu interes