<? require_once("checar.php"); 
session_name("SESION");
session_start(); 

require_once("coneccion.php");
$id=$_SESSION[id];
$pwd=$_SESSION[password];
$_SESSION[lugar]=1;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>.::Estadistica de Bibliotecas::.</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="estilos1.css">
<script type="text/javascript" src="funciones1.js"></script>
<script language="JavaScript">
function deshabilitar(campo)
	{
	if(campo.value==1 || campo.value==2 || campo.value==4)
		{
		document.forma.especifique.disabled=true;
		document.forma.especifique.value="";	
		}
	else 
		{
		document.forma.especifique.disabled=false;
		}
	}

function suma(){
	var1=parseInt(document.forma.estanteria.value);
	var2=parseInt(document.forma.personal.value);
	var3=parseInt(document.forma.lectura.value);	

	if(!(var1>=0)) var1=0;
	if(!(var2>=0)) var2=0;
	if(!(var3>=0)) var3=0;
	var4=var1+var2+var3;
	document.forma.biblioteca.value=var4;
	}


function dnl(campo)
	{
	campa=campo.name;
	campo1=campa+1;
	campo2=campa+2;
	campo3=campa+3;
	campo4=campa+4;
	campo5=campa+5;
	campo6=campa+6;	

	document.forma[campo1].disabled=true;
	document.forma[campo2].disabled=true;
	document.forma[campo3].disabled=true;
	document.forma[campo4].disabled=true;
	document.forma[campo5].disabled=true;
	document.forma[campo6].disabled=true;
	
	document.forma[campo1].value="";	
	document.forma[campo2].value="";	
	document.forma[campo3].value="";	
	document.forma[campo4].value="";	
	document.forma[campo5].value="";	
	document.forma[campo6].value="";
	}


function habilita(campo)
	{
	campa=campo.name;
	campo1=campa+1;
	campo2=campa+2;
	campo3=campa+3;
	campo4=campa+4;
	campo5=campa+5;
	campo6=campa+6;
	campo7=campa+7;
	campo8=campa+8;
	campo9=campa+9;	

	if(campo.value==1)
		{
		document.forma[campo1].disabled=false;
		document.forma[campo2].disabled=false;
		document.forma[campo3].disabled=true;
		document.forma[campo4].disabled=true;
		document.forma[campo5].disabled=true;		
		document.forma[campo6].disabled=true;
		document.forma[campo3].value="";	
		document.forma[campo4].value="";	
		document.forma[campo5].value="";	
		document.forma[campo6].value="";							
		}
	if(campo.value==2)
		{
		document.forma[campo3].disabled=false;
		document.forma[campo4].disabled=false;
		document.forma[campo5].disabled=false;		
		document.forma[campo6].disabled=false;
		document.forma[campo1].value="";	
		document.forma[campo2].value="";	
		document.forma[campo1].disabled=true;		
		document.forma[campo2].disabled=true;		
//		f1.add( Validate.Presence );
		}
	}

	
function numbersonly(myfield, e, dec)
{
var key;
var keychar;
if (window.event)
   key = window.event.keyCode;
else if (e)
   key = e.which;
else
{	//Capt_Val();
   	return true;
}
keychar = String.fromCharCode(key);
// control keys
if ((key==null) || (key==0) || (key==8) || 
    (key==9) || (key==13) || (key==27) )
{   
return true;
}
else if ((("0123456789").indexOf(keychar) > -1))
{	//Capt_Val();
   	return true;
}
else if (dec && (keychar == "."))
   {
   myfield.form.elements[dec].focus();
   
   return false;
   }
else
   return false;
}

function menu()
	{
	location.href="menu.php";
	}
	
	function salir(){
		location.href="salir.php";
	}	
	
</script>
<style type="text/css">
.foot {	
	
	margin:0 auto;
	width:920px;
	padding:10px;
	margin-top:20px;
	background:#545454 url(bg-foot.jpg) no-repeat center top;
	
	position:relative;
	font-size:11px;
	/*text-transform:uppercase;*/
	line-height:1.4em;
}


.foot-texto {
	text-align:left;
	color:#ddd;
	padding:10px;
	padding-left:80px;
	background: url(bg-escudo-sonora.jpg) no-repeat  left center;

}

.foot-texto strong {
	color:#FFF;
	text-transform:uppercase;
}

.foot-texto a {
	color:#ddd;
}

.logo-ns-foot {
	background:url(logo-ns-foot.jpg) no-repeat center;
	width:137px;
	height:43px;
	position:absolute;
	top:25px;
	right:15px;
}
/*.contacto-aviso {
	background: #FFC63B url(bg-menu-portales-a-color.jpg) repeat-x bottom;
	padding:10px 5px;
	color:#ffffff;*/
	
.contacto-aviso {
	background: #3E5D72 url(bg-menu-res.jpg) repeat-x bottom;
	padding:10px 5px;
	color:#3E5D72;
}

<!--
@font-face { 
@font-family: MiFuente; 
src: url('http://148.235.6.240/upeo/insreal/geo_sans_light/GeosansLight.ttf'); 
} 
-->
</style>

</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?
$sql = "SELECT * FROM cie_cct where row_id='$_SESSION[id]'";
$result = mysql_query($sql);  
$row = mysql_fetch_array($result);

$carac02 = "SELECT * FROM caracteristicas where id='$_SESSION[id]'";
$cara01 = mysql_query($carac02);  
$carac = mysql_fetch_array($cara01);
?>

<center>
<table width="806" border="0">
<tr> <td colspan="4" align="center"><img src="header.png" width="1000" height="120"></td> </tr>
<tr class="contacto-aviso">
    <td height="35" colspan="4" align="center" valign="bottom"><font face="Arial, Helvetica, sans-serif" color="#FFFFFF" size="+2">S</font><font face="Arial, Helvetica, sans-serif" color="#FFFFFF">ISTEMA  DE </font><font color="#FFFFFF" size="+2" face="Arial, Helvetica, sans-serif">B</font><font face="Arial, Helvetica, sans-serif" color="#FFFFFF">IBLIOTECAS - </font><font color="#FFFFFF" size="+2" face="Arial, Helvetica, sans-serif">2014</font></td>
    <!--<td height="39" colspan="4" align="left" ><font face="MiFuente" color="#E9690B" size="+2">SEGUIMIENTO de Estructuras Educativas</font></td>-->
  </tr>
</table>
	<table width="1000" border="0">
	<tr>
		<td width="71"><font face="Arial, Helvetica, sans-serif" color="#000000" size="-1">ESCUELA:</font></td>
		<td width="767"> <font color="#17375E" face="Arial, Helvetica, sans-serif"><strong><? echo $row["nombrect"];?></strong></font> </td> 
		<td width="39"><font face="Arial, Helvetica, sans-serif" color="#000000" size="-1">CCT:</font></td>
		<td width="105"> <font face="Arial, Helvetica, sans-serif" color="#17375E"><strong><? echo $row["clavecct"];?></strong></font> </td> 
	</tr>

	</table>
</center>

<!-- <div id="formContenedor">-->
<form id="forma" name="forma">
	<div id="transparencia"><div id="transparenciaMensaje"></div>
		</div>

<center> 	
<TABLE  width="850" border=0 cellpadding=0 cellspacing=0 bordercolor="#FFFFFF" rules="none" class="tabla1" >
	<tr>
	    <td align="left"><button id="botonEnviar" onClick="menu()" type="button">Ir al menu</button></td>
    	<td align="right" ><strong><input type="button" value="SALIR" onClick="salir();"></strong></td>
    </tr>
    <tr>
	    <td colspan="2"><button id="botonEnviar" onClick="validaForm()" type="button" <? if($_SESSION[folio]==1) echo "disabled"; ?>>Guardar</button></td>
	</tr>
</TABLE>
<br>
 
<TABLE class="tabla1"  width="850" border=1 cellpadding=2 cellspacing=0 bordercolor="#E4E4E4" rules="none" >
	<tr bgcolor="#E4E4E4"> 
    	<td colspan="6"><font face="Arial"><strong><font size="2">I. CARACTERISTICAS DE LA BIBLIOTECA</font></strong></font></td>
  	</tr>
  	<tr bgcolor="#E4E4E4"> 
    	<td colspan="6"><font size="2" face="Arial">1. Escriba en metros cuadrados (n&uacute;meros enteros) la superficie total de:</font></td>
  	</tr>
  	<tr > 
    	<td width="207" bgcolor="#FFFFFF"><font size="2" face="Arial">LA BIBLIOTECA</font></td>
	    <td colspan="4" align="left"> <input class="inputNormal" value="<? echo $carac[1];?>" type="text" name="biblioteca" size="5" maxlength="5" disabled>    </td>
		<td width="61" class="ayuda">&nbsp;</td>      
	</tr>
    <tr> 
  		<td><font size="2" face="Arial">&Aacute;REA DE ESTANTER&Iacute;A</font></td>
    	<td height="21" colspan="4"><input class="inputNormal" type="text" id="estanteria" value="<? echo $carac[2];?>" size="5" maxlength="5"  onKeyPress="return numbersonly(this, event)" onChange="suma();" <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
		<td class="ayuda">&nbsp;</td>    
    </tr>
  	<tr > 
    	<td><font size="2" face="Arial">&Aacute;REA DE PERSONAL</font></td>
		<td colspan="4" align="left"><input class="Normal" type="text" name="personal" size="5" maxlength="5" value="<? echo $carac[3];?>" onKeyPress="return numbersonly(this, event)" onChange="suma();" <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
		<td class="ayuda">&nbsp;</td>    
    </tr>
  	<tr > 
  		<td><font size="2" face="Arial">&Aacute;REA DE LECTURA</font></td>
		<td colspan="4" align="left"><input class="Normal" type="text" name="lectura" size="5" value="<? echo $carac[4];?>" maxlength="5"  onKeyPress="return numbersonly(this, event)" onChange="suma();" <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
		<td class="ayuda">&nbsp;</td>    
    </tr>
  	<tr > 
    	<td colspan="6"><font size="2" face="Arial"><strong>Nota: La superficie total de la biblioteca deber&aacute; ser igual a la suma de las &aacute;reas de personal, estanter&iacute;a y lectura.</strong></font></td>
    </tr>
  	<tr> 
    	<td colspan="6">&nbsp;</td>
    </tr>
  	<tr bgcolor="#E4E4E4"> 
    	<td height="18" colspan="6" ><font size="2" face="Arial">2. Escriba el n&uacute;mero de asientos disponibles para los usuarios de la biblioteca. Considere los de la sala de lectura.</font></td>
	</tr>
  	<tr> 
    	<td><font size="2" face="Arial">ASIENTOS</font></td>
	    <td colspan="4" align="left"><input class="Normal" type="text" name="asientos" value="<? echo $carac[5];?>" size="4" maxlength="4"  onKeyPress="return numbersonly(this, event)" <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
		<td class="ayuda">&nbsp;</td>      
    </tr>
	<tr> 
    	<td colspan="6">&nbsp;</td>
    </tr>
</TABLE>
     <TABLE  width="850" class="tabla1" border=1 cellpadding=2 cellspacing=0 bordercolor="#E4E4E4" rules="none" >
	<tr bgcolor="#E4E4E4"> 
    	<td colspan="6"><font size="2" face="Arial">3. Escriba el horario de servicio, continuo o discontinuo, seg&uacute;n corresponda, considerando horas completas; en caso de tener horas con minutos, anote la hora inmediata superior. Llenar en formato 24 hrs.</font></td>
    </tr>
	<tr> 
    	<td width="141">&nbsp;</td>
        <td align="center"><FONT face="arial" size="2">DIA NO LABORAL</FONT></td>
	    <td colspan="2" align="center"><font size="2" face="Arial">CONTINUO</font></td>
    	<td colspan="3" align="left"><font face="Arial" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DISCONTINUO</font></td>
	</tr>
  	<tr> 
		<td><font size="2" face="Arial">LUNES A VIERNES </font></td>
	    <td width="86" align="center"><input class="Radio" name="lunes" value="3" type="radio" onClick="dnl(this)" <? if ($carac[6]==0) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
	    <td width="168" align="center"><font face="Arial" size="2">
    	  <input class="Radio" name="lunes" id="lunes" value="1" type="radio" onClick="habilita(this)" <? if ($carac[6]==1) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>>
    	  DE: 
   	    <input class="normal" type="text" name="lunes1" onKeyPress="return numbersonly(this, event)" size="2" maxlength="2" 
		<? if ($carac[6]==0 or $carac[6]==2) echo "disabled"; else echo "value=".$carac[7]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> A</font> 
        
        <input class="normal" type="text" name="lunes2" onKeyPress="return numbersonly(this, event)" size="2" maxlength="2" 
		<? if ($carac[6]==0 or $carac[6]==2) echo "disabled"; else echo "value=".$carac[8]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
	 	
        <td width="107" align="right">
        <input class="Radio"  name="lunes" id="2" value="2" type="radio" onClick="habilita(this)" 
		<? if ($carac[6]==2) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
    	
        <td width="264" align="left"><font size="2" face="Arial">DE:
   	    <input class="normal" type="text" name="lunes3"  onKeyPress="return numbersonly(this, event)" size="2" maxlength="2" 
		<? if ($carac[6]==0 or $carac[6]==1) echo "disabled"; else echo "value=".$carac[9]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> A 
        
        <input class="normal" type="text" name="lunes4" size="2" onKeyPress="return numbersonly(this, event)" maxlength="2" 
		<? if ($carac[6]==0 or $carac[6]==1) echo "disabled"; else echo "value=".$carac[10]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> Y DE: 
        
        <input class="normal" type="text" name="lunes5" onKeyPress="return numbersonly(this, event)" size="2" maxlength="2" 
		<? if ($carac[6]==0 or $carac[6]==1) echo "disabled"; else echo "value=".$carac[11]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> A 
        
        <input class="normal" type="text" name="lunes6" size="2" onKeyPress="return numbersonly(this, event)" maxlength="2" 
		<? if ($carac[6]==0 or $carac[6]==1) echo "disabled"; else echo "value=".$carac[12]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> </font></td>
		
        <td width="46" class="ayuda">&nbsp;</td>          
	</tr>
	<tr> 
    	<td><font size="2" face="Arial">S&Aacute;BADO</font></td>
	    
        <td align="center">
        <input class="Radio" name="sabado" value="3" type="radio" onClick="dnl(this)" 
		<? if ($carac[13]==0) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
		
        <td align="center"><font size="2" face="Arial">
        <input class="Radio" name="sabado" id="13" value="1" type="radio" onClick="habilita(this)" 
		<? if ($carac[13]==1) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>>DE:
        
	    <input class="normal" type="text" name="sabado1" onKeyPress="return numbersonly(this, event)" size="2" maxlength="2" 
		<? if ($carac[13]==0 or $carac[13]==2) echo "disabled"; else echo "value=".$carac[14]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> A</font> 
        
        <input class="normal" type="text" name="sabado2" size="2"  onKeyPress="return numbersonly(this, event)" maxlength="2" 
		<? if ($carac[13]==0 or $carac[13]==2) echo "disabled"; else echo "value=".$carac[15]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>>    </td>
	    
        <td align="right"><input class="Radio"  name="sabado" id="2" value="2" type="radio" onClick="habilita(this)" 
		<? if ($carac[13]==2) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
        
    	<td align="left"><font size="2" face="Arial">DE: 
        <input class="normal" type="text" name="sabado3" onKeyPress="return numbersonly(this, event)" size="2" maxlength="2" 
		<? if ($carac[13]==0 or $carac[13]==1) echo "disabled"; else echo "value=".$carac[16]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> A 
        
        <input class="normal" type="text" name="sabado4" size="2" onKeyPress="return numbersonly(this, event)" maxlength="2" 
		<? if ($carac[13]==0 or $carac[13]==1) echo "disabled"; else echo "value=".$carac[17]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> Y DE: 
        
        <input class="normal" type="text" name="sabado5" onKeyPress="return numbersonly(this, event)" size="2" maxlength="2" 
		<? if ($carac[13]==0 or $carac[13]==1) echo "disabled"; else echo "value=".$carac[18]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> A 
        
        <input class="normal" type="text" name="sabado6" size="2" onKeyPress="return numbersonly(this, event)" maxlength="2" 
		<? if ($carac[13]==0 or $carac[13]==1) echo "disabled"; else echo "value=".$carac[19]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> </font></td>
        
		<td class="ayuda">&nbsp;</td>          
	</tr>
  	<tr> 
    	<td><font size="2" face="Arial">DOMINGO</font></td>
	    <td align="center">
        <input class="Radio" name="domingo" value="3" type="radio" onClick="dnl(this)" 
		<? if ($carac[20]==0) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>

    	<td align="center"><font size="2" face="Arial">
    	<input class="Radio"  name="domingo" id="14" value="1" type="radio" onClick="habilita(this)" 
		<? if ($carac[20]==1) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>>DE: 
        
        <input class="normal" type="text" name="domingo1" onKeyPress="return numbersonly(this, event)" size="2" maxlength="2" 
		<? if ($carac[20]==0 or $carac[20]==2) echo "disabled"; else echo "value=".$carac[21]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> A 
        
        <input class="normal" type="text" name="domingo2" size="2" onKeyPress="return numbersonly(this, event)" maxlength="2" 
		<? if ($carac[20]==0 or $carac[20]==2) echo "disabled"; else echo "value=".$carac[22]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> </font></td>
        
	    <td align="right"><input class="Radio"  name="domingo" id="2" value="2" type="radio" onClick="habilita(this)" 
		<? if ($carac[20]==2) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
        
	    <td align="left"><font size="2" face="Arial">DE: 
        <input class="normal" type="text" name="domingo3" onKeyPress="return numbersonly(this, event)" size="2" maxlength="2" 
        <? if ($carac[20]==0 or $carac[20]==1) echo "disabled"; else echo "value=".$carac[23]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> A 
        
        <input class="normal" type="text" name="domingo4" size="2" onKeyPress="return numbersonly(this, event)" maxlength="2" 
        <? if ($carac[20]==0 or $carac[20]==1) echo "disabled"; else echo "value=".$carac[24]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> Y DE: 
        
        <input  class="normal" type="text" name="domingo5" onKeyPress="return numbersonly(this, event)" size="2" maxlength="2" 
        <? if ($carac[20]==0 or $carac[20]==1) echo "disabled"; else echo "value=".$carac[25]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> A
        
        <input class="normal" type="text" name="domingo6" size="2" onKeyPress="return numbersonly(this, event)" maxlength="2" 
        <? if ($carac[20]==0 or $carac[20]==1) echo "disabled"; else echo "value=".$carac[26]; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>> </font></td>
        
		<td class="ayuda">&nbsp;</td>          
  	</tr>
  	<tr > 
    	<td height="18" colspan="6">&nbsp;</td>
	</tr>
	<tr> 
    	<td  bgcolor="#E4E4E4" colspan="3"><font size="2" face="Arial">4. Escriba el numero de d&iacute;as al a&ntilde;o que se ofrece el servicio. </font></td>
	    <td colspan="1"><input  class="normal" type="text" name="dias" onKeyPress="return numbersonly(this, event)" size="3" maxlength="3" value="<? echo $carac[27];?>" <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
		<td class="ayuda" colspan="2">&nbsp;</td>          
	</tr>
  	<tr> 
    	<td colspan="6">&nbsp;</td>
    </tr>
  	<tr bgcolor="#E4E4E4"> 
    	<td colspan="6"><font size="2" face="Arial">5. Seleccione el tipo de clasificaci&oacute;n adoptada por la biblioteca</font></td>
    </tr>
  	<tr> 
    	<td ><font size="2" face="Arial">DEWEY O DECIMAL</font></td>
    	<td colspan="4" c align="left"> <input class="Radio"  name="clasificacion" id="1" value="1" type="radio" onClick="deshabilitar(this)" <? if ($carac[28]==0) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?> > </td>
		<td class="ayuda">&nbsp;</td>            
    </tr>
	<tr>  
    	<td><font size="2" face="Arial">LIBRARY OF CONGRESS (LC)</font></td>
		<td  colspan="5"align="left"><font face="Arial"> <input class="Radio"  name="clasificacion" id="2" value="2" type="radio" onClick="deshabilitar(this)" <? if ($carac[28]==1) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>></font></td>
	</tr>
  	<tr> 
    	<td><font size="2" face="Arial">OTROS*</font></td>
		<td colspan="2" align="left"><input class="Radio" name="clasificacion" id="3" value="3" type="radio" onClick="deshabilitar(this)" <? if ($carac[28]==2) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>>   </td>
	    <td colspan="2" align="left"><font face="Arial" size="2">ESPECIFIQUE: 
        <textarea name="especifique" cols="15" rows="1" <? if ($carac[28]!=2) echo "disabled "; if($_SESSION[folio]==1) echo "disabled";  ?>><? echo $carac[29]; ?></textarea>
        
        </font></td>
		<td class="ayuda">&nbsp;</td>                
    </tr>
  	<tr> 
    	<td height="18"><font size="2" face="Arial">NINGUNO</font></td>
    	<td height="18" colspan="4"><font face="Arial"> <input class="Radio" name="clasificacion" id="4" value="4" type="radio" onClick="deshabilitar(this)" <? if ($carac[28]==3) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>></font></td>    
		<td>&nbsp;</td>                
  	</tr>
  	<tr> 
    	<td colspan="6">&nbsp;</td>
	</tr>
  	<tr bgcolor="#E4E4E4"> 
    	<td colspan="6"><font size="2" face="Arial">6. Seleccione el tipo de catalogo que utiliza</font></td>
	</tr>
  	<tr> 
    	<td><font size="2" face="Arial">TARJETAS</font></td>
		<td colspan="4" align="left">
        <input class="Radio" name="catalogo" type="radio" value="1" id="1" <? if ($carac[30]==0) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
		<td class="ayuda">&nbsp;</td>            
    </tr>
  	<tr> 
    	<td><font size="2" face="Arial">EL&Eacute;CTRONICO</font></td>
   		<td colspan="5" align="left">
        <input class="Radio" name="catalogo" id="2" value="2" type="radio" <? if ($carac[30]==1) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?> ></td>
    </tr>
 	<tr> 
    	<td height="18"><font size="2" face="Arial">MIXTO</font></td>
	  	<TD colspan="5">
        <input class="Radio" name="catalogo" id="3" value="3" type="radio" <? if ($carac[30]==2) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>></TD>
  	</tr>
    <tr> 
    	<td height="18"><font size="2" face="Arial">OTRO**</font></td>
	  	<TD colspan="2">
        <input class="Radio" name="catalogo" id="4" value="4" type="radio" <? if ($carac[30]==2) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>></TD>
        <TD colspan="1"><font size="2" face="Arial">**ESPECIFIQUE:</font></TD>
        <TD colspan="2"><label for="textarea"></label>
          <textarea name="espe2" id="espe2" cols="15" rows="1"><? echo $carac[38]?></textarea>
       </tr>
  
  	<tr> 
	    <td colspan="6">&nbsp;</td>
   	</tr>
  	<tr bgcolor="#E4E4E4"> 
	   	<td colspan="6"><font size="2" face="Arial">7. Seleccione el tipo de estanter&iacute;a que se encuentra en el acervo.</font></td>
    </tr>
  	<tr>
    	<td><font size="2" face="Arial">ABIERTA</font></td>
	    <td  colspan="4"align="left"><input class="Radio" name="testante" type="radio" value="1" id="1" <? if ($carac[31]==0) echo "checked";?> <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
		<td class="ayuda">&nbsp;</td>                
    </tr>
  	<tr> 
    	<td><font size="2" face="Arial">CERRADA</font></td>
    	<td colspan="5" align="left"><input class="Radio" name="testante" id="2" value="2" type="radio" <? if ($carac[31]==1) echo "checked";  ?> <? if($_SESSION[folio]==1) echo "disabled"; ?> ></td>
    </tr>
  	<tr> 
    	<td><font size="2" face="Arial">MIXTA</font></td>
	    <td colspan="5" align="left"><input class="Radio" name="testante" id="3" value="3" type="radio" <? if ($carac[31]==2) echo "checked"; ?> <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
    </tr>
  	<tr> 
    	<td colspan="6" align="center">&nbsp;</td>
    </tr>
  	<tr bgcolor="#E4E4E4"> 
    	<td height="24" colspan="6"><font size="2" face="Arial">8. Escriba el n&uacute;mero de estantes y los metros lineales que ocupan los libros y revistas que se encuentran en ellos.</font></td>
    </tr>
  	<tr> 
    	<td><font size="2" face="Arial">ESTANTES</font></td>
		<td colspan="2" align="left"><input class="normal" type="text" name="estantes" size="4" maxlength="4" value="<? echo $carac[32];?>" onKeyPress="return numbersonly(this, event)" <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
    	<td colspan="2" align="left"><font size="2" face="Arial">METROS</font><input class="normal" type="text" name="metros" size="5" maxlength="5" value="<? echo $carac[33];?>" onKeyPress="return numbersonly(this, event)" <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
		<td class="ayuda">&nbsp;</td>                    
    </tr>
</table>
</center>

<br>

<TABLE  width="850" class="tabla1" align="center"  border=1 rules="none" cellspacing=0 cellpadding=2 bordercolor="#E4E4E4" >
	<tr bgcolor="#E4E4E4">
		<td><font size="2" face="Arial"><strong>II. USUARIOS</strong></font></td>
	</tr>
	<tr>
		<td bgcolor="#E4E4E4" width="569"><font size="2" face="Arial">1. Escriba el numero de personas que durante el a&ntilde;o utilizaron el acervo de la biblioteca</font></td>
	</tr>
	<tr>
		<td> <input class="normal" type="text" name="usuarios" size="7" maxlength="7" value="<? echo $carac[34];?>" onKeyPress="return numbersonly(this, event)" <? if($_SESSION[folio]==1) echo "disabled"; ?>></td>
    </tr>
	<tr> 
    	<td align="center">&nbsp;</td>
    </tr>
	<tr>
		<td bgcolor="#E4E4E4"><font size="2" face="Arial">2. Escriba el numero de personas inscritas en la biblioteca para hacer uso del servicio de prestamo a domicilio</font></td>
	</tr>
	<tr>
		<td><input class="normal" type="text" name="inscritos" size="7" maxlength="7" value="<? echo $carac[35];?>" onKeyPress="return numbersonly(this, event)" <? if($_SESSION[folio]==1) echo "disabled"; ?>>
        <input type="hidden" name="nada"></td>
	</tr>
</table>
</form>

<!--</div> -->

<!-- Capa para mostrar los mensajes de ayuda al presionar los iconos correspondientes -->
<div id="mensajesAyuda">
	<div id="ayudaTitulo"></div>
	<div id="ayudaTexto"></div>
</div>
</body>
</html>
