Does anyone know in JavaScript how to resize a browser window On Load?

On Load, meaning load is the event? or a new window?

I know there are resizeTo() and resizeBy() properties for window objects in Javascript- have you tried that? Those are pixel measurements btw, so it'd be mywindow.resizeTo(350,200)