		//*********************************************************************************
		// Function que valida que un campo contenga un string y no solamente un " "
		// Es tipico que al validar un string se diga
		//    if(campo == "") ? alert(Error)
		// Si el campo contiene " " entonces la validacion anterior no funciona
		//*********************************************************************************
		
		//busca caracteres que no sean espacio en blanco en una cadena
		function vacio(q) {
				for ( i = 0; i < q.length; i++ ) {
						if ( q.charAt(i) != " " ) {
								return true
						}
				}
				return false
		}

		function validarEmail(valor) {
		  if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(valor)){
		   return (true)
		  } else {
		   return (false);
		  }
		}
		
		function mostrarDiv(nomdiv)
		{
			var obj = document.getElementById(nomdiv);
		
			if(obj.style.display == 'block') 
			{
				obj.style.display = 'none';
			}
         	else 
			{
				obj.style.display = 'block';
			}
			
		}
		
		


