
function openEx(page, width, height)
{
	var x = (screen.width - width) / 2;// width / 2;
	var y = (screen.height - height) / 2 - 50;
	
	var str = ",width=" + width + ",height=" + height + ",top=" + y + ",left=" + x;
	if(page.indexOf('?') >= 0)
		page += '&popup';
	else
		page += '?popup';
	open(page, '', 'toolbar=no,menubar=no,statusbar=yes,addressbar=no,scrollbars=yes' + str);
}
