<SCRIPT event=onmousedown for=document language=javascript>
	if (event.button==2) {
		
		alert("Derechos Reservados © \n MAN EMPLOYEE, S.C.")
	}
	
</SCRIPT>

<script LANGUAGE="javascript">

function valida_espacio(str_cadena)
{
	var int_len
	int_len=str_cadena.length
	str_cadena=str_cadena.replace("'"," ")
	for (i = 0; i < int_len; i=i+1)
		{
		if (str_cadena.substr(i,1).charCodeAt(0) !=13 
			&& str_cadena.substr(i,1).charCodeAt(0) !=32 
			&& str_cadena.substr(i,1).charCodeAt(0) !=10
			&& str_cadena.substr(i,1).charCodeAt(0) !=39
			&& str_cadena.substr(i,1).charCodeAt(0) !=34){
			return(false)
		}
	}
return(true)
}			

function valida_integer(str_cadena)
{
	var int_len
	var int_cuenta
	int_cuenta =0
	int_len=str_cadena.length
	for (i = 0; i < int_len; i=i+1)
		{
		if (parseInt(str_cadena.substr(i,1))>=0){
			int_cuenta = int_cuenta +1
			if (int_len==int_cuenta){
				return(false)
			}
		}
	}
	return(true)
}

function ver_ayuda()
{
	
	var i = document.all.item("ayuda")
	
	
	if (i) {
		for (i=0; i < document.all.tags("SELECT").length;i++)
		{
			document.all.tags("SELECT")(i).style.visibility = "hidden";
		}

		ayuda.style.visibility = "visible";
	}
		


}



function btn_salir()

{
	document.all.item("btn_salir").bgcolor=whiteSmoke;

}


</script>
