function limpiaError(id){document.getElementById(id).innerHTML='';}
function alertaPermiso(){
	alert('Usted no tiene acceso a este contenido.');
}

function errorComentario(campo,msg){
	var f=document.getElementById('comentar');
	if(campo){
		if(campo=='comentario'){f.comentario.focus();}
	}
	document.getElementById('error').innerHTML=msg;
}
