function pWin(url) {
w = 600;
h = 500;
var x = (screen.width - w) / 2;
var y = (screen.height - h) / 2;
window.open(url, 'window','width='+w+',height='+h+',left='+x+',top='+y+',scrollbars=yes, resizable=no');
if (parseInt(navigator.appVersion) >= 4) { Win.window.focus(); }
}


function pWinLoc(url) {
w = 600;
h = 650;
var x = (screen.width - w) / 2;
var y = (screen.height - h) / 2;
window.open(url, 'window','width='+w+',height='+h+',left='+x+',top='+y+',scrollbars=yes, resizable=no');
if (parseInt(navigator.appVersion) >= 4) { Win.window.focus(); }
}


function newWindow(url, width, height) { 
    var features = "left=0,screenX=0,top=0,screenY=0,scrollbars=0,toolbar=0,location=0,status=0,resizable=0,status=0,fullscreen=0,titlebar=0";
    if (window.screen) {
      var ah = height;
      var aw = width;
      features += ",height=" + ah;
      features += ",width=" + aw;
    }
    win=window.open(url, "Gilman Ciocia", features);
}


function cWin(url,w,h) { 

var x = Math.round((screen.width - w) / 2);
var y = Math.round((screen.height - h) / 2);

var features = 'left='+x+',top='+y+',scrollbars=0,toolbar=0,location=0,resizable=0,status=0,titlebar=0';

features += ",height=" + h;
features += ",width=" + w;
	  
Win = window.open(url,'Test', features,'false');
Win.focus();
}