function popup_launch_player(u, w, h) {
var x = (640 - w)/2, y = (480 - h)/2;
if (screen) {
y = (screen.availHeight - h)/2;
x = (screen.availWidth - w)/2;
}
if (screen.availWidth > 1800) {
x = ((screen.availWidth/2) - w)/2;
}
window.open(u, "player_bullets", "width=" + w + ",height=" + h + ",screenX=" + x + ",screenY=" + y + ",top=" + y + ",left=" + x);
}