echo "
function validarNota(obj){
	marcarNoValida=false;
	try{
		if (obj.value != '') {val=parseFloat(obj.value) ; obj.value=val;}
		if (obj.value == '' || (obj.value != '' && val  >= ". $rng_min." &&  val <= ". $rng_max.")){
			return true;
		}
	}catch(e){}
	return false;
}
function validarNotaKP(key){
	var car = String.fromCharCode(key);
	if (car.match(/[0-9\.]/)){ return true;}
	return false;
}
";