<link href="../estilos/css_sistema.css" rel="stylesheet" type="text/css" />
<link href="../imagenes/logo.ico" type="image/x-icon" rel="shortcut icon">
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">
	

	<?php 
if ($_REQUEST['id'] === '1') {
    $rs = $paciente->provincia_nuevo($_REQUEST['departamento'], $_REQUEST['provincia'], '0');
    if ($rs) {
        echo "<script  LANGUAGE='JavaScript'> window.opener.location.href = 'pacientes.php?departamento=" . $_REQUEST['departamento'] . "&provincia=" . $_SESSION['provincia_id'] . "';\r\nwindow.close();  </script>";
    }
}
?>

	
	<form name="form1"  id="form1">
        <table width="469" border="0" align="center" cellpadding="0">
          <tr>
            <td width="74" align="left" class="enfasis">Departamento</td>
            <td width="18" align="left" class="enfasis" >:</td>
            <td width="172" align="left">

			<?php