For example i will create five button


Button1's value : 640*480
Button2's value : 1024*600
Button3's value : 1600*900
Button4's value : 800*600
If user click to button1 i want to change browser's windows' size. I want this via JQuery but maybe javascript..


And how can i change windows' position for computer's screen. Third question how can i create random number?