/* função para estilizar os formulários */
function focaForm() {
	var formulario = document.forms
	
	for (i = 0; i < formulario.length; i++){
		
		for(j = 0; j < formulario[i].length; j++){
			var element = formulario[i][j]
			 
			if(element.type == "select-one" || element.type =="text" || element.type == "textarea") {
				element.onfocus = function(){
					this.parentNode.className  = "pFocus"
					this.className   	   = "focus"
					this.nextSibling.innerHTML = this.title	
				}
				element.onblur = function(){
					this.parentNode.className  = ""
					this.className   	   =  ""
					this.nextSibling.innerHTML = ""	
				}
			}
		}
	}
}