
function abreWindow_calendario(jc, ventana, an, al, toolbar, location, status, menubar, scrollbars, resizable) {
var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (an + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
	iMyHeight = (window.screen.height/2) - (al + 40); //half the screen height minus half the new window height (plus title and status bars).
	var win2 = window.open(jc, ventana,"height="+al+",width="+an+",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + "toolbar=" + toolbar + "location=" + location + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + "");
	win2.focus();
}

