/* FMSI Sistemas de Informatica (c) 2000 */

/* Abrir ventana */
function launch(newURL, newName, newFeatures, orgName)
{
	var remote = open(newURL, newName, newFeatures);
	if (remote.opener == null)
		remote.opener = window;

	remote.opener.name = orgName;
	return remote;
}

/* Ventana popup */
function popWindow(url,sb,w,h,rz)
{
	myRemote = launch(url,
		"pop_window",
		"toolbar=no,status=no,menubar=no,scrollbars=" + sb + ",resizable=" + rz + ",width=" + w + ",height=" + h,
		"parent_opener");
}

/* Cerrar ventana */
function closeWindow()
{
	window.close();
}
