hey friend;
we can alter widows width and height it's true with our values following is some sample code for you,
var w = 400;
var h = 220;
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) /1.5;
winprops = 'standard,height=' + h + ',width='+w+',top='+wint+',left='+winl+'status=no,scrollbars=yes,toolbar=no,
dependent=yes,alwaysRaised=no,maximize=no,resizable=yes';
win = window.open('../techOffice/popupComments.jsp?key='+c,'win',winprops);
document.forms[0].target = "win";
You should use like this or directly
window.open('../techOffice/popupComments.jsp'); //abusolute path of your page