// Open new pop-up window with url, width and height

function openWindow(url,width,height) {
	var left = (window.screen.width - width) / 2;
	var top = (window.screen.height - height) / 2;
	var parameters = 'left=' + left + ',top=' + top + ',width=' + width + ',height=' + height + ',toolbar=0,menubar=0,location=0,status=0,scrollbars=0,resizable=0';
	window.open(url,'login',parameters);
}
