function depurar() { 
		var aceptar;
		aceptar=0;
		if (document.form2.solicitud.value.length<1)  {
			alert("Enter your request.");
			document.form2.solicitud.focus();
			aceptar=1;
		}
		if (document.form2.cantidad.value.length!=0)  {
			if ((self.document.form2.cantidad.value.length!=0) && isNaN(self.document.form2.cantidad.value)) {
				alert("Quantity must be a numeric value.");
				document.form2.cantidad.focus();
				aceptar=1;
			}
		}

		if (aceptar==0){
			document.form2.enviado.value = 1;
		}
		else {
			document.form2.daerror.value = 1;
		}
		
		//self.document.form2.submit();		
		
}

