Doesn't Window.open offer those parameters?