function openPopupWindow(url, width, heigth){
	var x = parseInt(screen.width / 2.0) - (width / 2.0);
	var y = parseInt(screen.height / 2.0) - (heigth / 2.0);

	var w = window.open(url, "",
	"width="+width+",height="+heigth+",top=" + y + ",left=" + x + ",status, resizable=yes"
	+ ", scrollbars=1");

}
