//<!----

function modifyQuantity(textBox, modifier){
	valor = eval("document.shopForm.recalcular"+textBox);
	valor.value = parseInt(valor.value,10) + modifier;
	if (valor.value <= 0){ 
		valor.value = 0;
	}
	if (valor.value >= 60){ 
		valor.value = 60;
		alert("maximo 60 libros");
	}
	return false;
}

function enviarCarro(theForm,theAction){
	var i,tmpValue;

	for(i=0;i < theForm.itemsCarro.value;i++){
		tmpValue = eval("theForm.recalcular"+i);
		if (typeof(tmpValue) != "undefined"){
			tmpValue.value = Trim(tmpValue.value);
			if (tmpValue.value != "" && !isNumero(tmpValue.value)){
				alert("Solo numeros en este campo..");
				tmpValue.focus();
				return false;
			}
		}else{
			return false;
		}
	}
	theForm.submit();
	return false;
}


//----->