Window pop-up resize

Hello,

I have two pop-ups windows on my page:

  1. <a href="#" OnClick=“javascript:window.open(‘phpEventCalendar/index.php’,‘popUpWindows’,‘top=50,screenx=400,left=150,screeny=1,width=650,height=580,buttons=no,scrollbars=yes,location=no,menubar=no,resizable=no,status=no,directories=no,toolbar=no’)”><img src=“images/calendar.jpg” width=“81” height=“69” border=“0”>

  2. <a href="#" OnClick=“javascript:window.open(‘nov-2005-tournament.html’,‘popUpWindows’,‘top=150,screenx=400,left=150,screeny=1,width=430,height=460,buttons=no,scrollbars=no,location=no,menubar=no,resizable=no,status=no,directories=no,toolbar=no’)”>

Now when I click on 1., a window willl pop up with width=650 and height=580. Then without closing the pop-up window, I clicked on 2. to get the other pop-up windows. The problem is the pop-up 2 does not resize to his width=430 and height=460. How do you fix that?

Thanks