function popupCenter( url, w, h)
{
    var centerWidth = (window.screen.width-w) / 2;
	var centerHeight = (window.screen.height - h) / 2;

	var myWindow = window.open( url, "_blank", "width=" + w + ",height=" + h + ",left=" + centerWidth + ",top=" + centerHeight + ",status=no,scrollbars=no,resizable=no,menubar=no,toolbar=no,location=no");
}