is it possible to resize the current internet explorer window

i have a web application that opens a new window with a set size.
i want to resize this window depending on what button is clicked

i am running .aspx files and the code behind as .vb

thanks,
tom.