//////////////////////////////
//// Alias

//limpa campo input
function getId(id){
	return document.getElementById(id);
}

//////////////////////////////
//// Trabalhos com campos de formulário

//limpa campo input
function fClear(id){
	return getId.value = '';
}

//disabled
function fDisabled(id,tipo){
	return getId.disabled = tipo;
}


//////////////////////////////
//// Trabalhos com estilos

//style.display
function sDisplay(id,tipo){
	return getId(id).style.display = tipo;
}

//exibe, oculta
function showHide(id){
	if(getId(id).style.display == "none"){
		getId(id).style.display = "block";
	}else{
		getId(id).style.display = "none";
	}
}

//altera imagem
function sSrc(id,imagem){
	return getId(id).src = imagem;
}

//faz uma requisição em AJAX
function abreAJAX(){
	
}

