/* $Id: functions.js,v 1.01 */
	//
	
	function calcular_importe ( elemento ) {
		var mensaje = "El elemento modificado del Formulario es :"+ elemento.name +"\n\n",
		/*for ( i= 0; i <= theForm.elements.length; i++ ) {
			mensaje = mensaje + theForm.elements[i].name + "\n";
		}*/
		if (!confirm(mensaje)) {
			return false;
		}
		
		/*if ( isNaN( theForm.element.name ) {
			alert ( " Favor de introducir sólo valores numéricos. " );
			objeto_cantidad.value = " ";
			objeto_cantidad.focus();			
		} else if ( objeto_cantidad.value <= 0 ) {
			alert ( " Favor de introducir sólo valores positivos mayores a cero. " );
			objeto_cantidad.value = " ";
			objeto_cantidad.focus();			
		} else {
			mensaje = "Cantidad de productos :   "+objeto_cantidad.value+"- Name del input text: "+objeto_cantidad.name;
			mensaje = mensaje +"Nombre de la forma origen:  "+documento.formulario.name;		
			mensaje = mensaje +"\n\n¿Son correctos?";
		
			if (!confirm(mensaje)) {
				return false;
			}
		}*/		
		documento.formulario.submit();
		return true;
	}
	


