
function calculo(x){
//-----------------------------------------------------------------------------------------//
//-------------------------------------SALMON----------------------------------------------//
//-----------------------------------------------------------------------------------------//
if(document.forms[x].producto.options[document.forms[x].producto.selectedIndex].value==1){ 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==0){
total=0;
document.forms[x].total.value=total;
}//fin segundo if


//inicio (Servicios sin calculo:Carguío(animal); Acopio) 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==4 
	|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==6 
	|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==14 
	|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==15){
total=0;
document.forms[x].total.value=total;
alert("Este producto no tiene disponible este servicio");
}// (Servicio:Carguío(animal); Acopio) 


// inicio (Servicio:descarga frio)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==2){
total= document.forms[x].peso.value * 20;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:descarga frio)


// inicio (Servicio:Carguío)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==3){
total= document.forms[x].peso.value * 20;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Carguío)


// inicio (Servicio:Mantención)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==7){
total= document.forms[x].peso.value * 20;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Mantención)


// inicio (Servicio:Temperatura Especial)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==8){
total= document.forms[x].peso.value * 22;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Temperatura Especial)


// inicio (Servicio:Congelado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==9){
total= document.forms[x].peso.value * 51;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Congelado)


// inicio (Servicio:Trasvasije)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==11){
total= document.forms[x].peso.value * 20;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Trasvasije)


// inicio (Servicio:Reembalaje)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==12){
total= document.forms[x].peso.value * 20;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Reembalaje)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==13){
total= document.forms[x].peso.value * 1500;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==21){
total= document.forms[x].peso.value * 3000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==22){
total= document.forms[x].peso.value * 6500;
document.forms[x].total.value="$ "+total;
}

// inicio (Servicio:Enmallado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==17){
total= document.forms[x].peso.value * 30;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Enmallado)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==18){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

// inicio (Servicio:Sellado skit)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==19){
total= document.forms[x].peso.value * 23;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==23){
total= document.forms[x].peso.value * 12;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==24){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==25){
total= document.forms[x].peso.value * 12000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==23){
total= document.forms[x].peso.value * 12;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==24){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==25){
total= document.forms[x].peso.value * 12000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

// inicio (Servicio:Rayos X)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==20){
total= document.forms[x].peso.value * 0.6;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Rayos X)

// inicio (Servicio:Climatizado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==26){
total= document.forms[x].peso.value * 29;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Climatizado)

}//fin primer if de producto SALMON
//-----------------------------------------------------------------------------------------//
//-------------------------------------MERLUZA---------------------------------------------//
//-----------------------------------------------------------------------------------------//
if(document.forms[x].producto.options[document.forms[x].producto.selectedIndex].value==2){ 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==0){
total=0;
document.forms[x].total.value=total;
}// fin validacion del campos nulo valores 0 


//inicio (Servicios sin calculo:Carguío(animal); Acopio) 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==4 || document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==6 || document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==14 || document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==15){
total=0;
document.forms[x].total.value=total;
alert("Este producto no tiene disponible este servicio");
}// (Servicio:Carguío(animal); Acopio) 


// inicio (Servicio:descarga frio)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==2){
total= document.forms[x].peso.value * 15;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:descarga frio)


// inicio (Servicio:carguío)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==3){
total= document.forms[x].peso.value * 20;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:carguío)


// inicio (Servicio:mantención)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==7){
total= document.forms[x].peso.value * 20;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:mantención)


// inicio (Servicio:temp. especial)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==8){
total= document.forms[x].peso.value * 22;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:temp. especial)


// inicio (Servicio:congelado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==9){
total= document.forms[x].peso.value * 51;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:congelado)


// inicio (Servicio:trasvasije)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==11){
total= document.forms[x].peso.value * 20;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)


// inicio (Servicio:Reembalaje)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==12){
total= document.forms[x].peso.value * 20;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Reembalaje)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==13){
total= document.forms[x].peso.value * 1500;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==21){
total= document.forms[x].peso.value * 3000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==22){
total= document.forms[x].peso.value * 6500;
document.forms[x].total.value="$ "+total;
}

// inicio (Servicio:enmallado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==17){
total= document.forms[x].peso.value * 30;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:enmallado)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==18){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

// inicio (Servicio:Sellado skit)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==19){
total= document.forms[x].peso.value * 23;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==23){
total= document.forms[x].peso.value * 12;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==24){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==25){
total= document.forms[x].peso.value * 12000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==23){
total= document.forms[x].peso.value * 12;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==24){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==25){
total= document.forms[x].peso.value * 12000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)


// inicio (Servicio:rayos x)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==20){
total= document.forms[x].peso.value * 0.6;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:rayos x)

// inicio (Servicio:Climatizado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==26){
total= document.forms[x].peso.value * 29;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Climatizado)
}//FIN  PRODUCTOS MERLUZA
//-----------------------------------------------------------------------------------------//
//-------------------------------OTROS PRODUCTOS DEL MAR-----------------------------------//
//-----------------------------------------------------------------------------------------//
if(document.forms[x].producto.options[document.forms[x].producto.selectedIndex].value==3){ 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==0){
total=0;
document.forms[x].total.value=total;
}// fin validacion del campos nulo valores 0 


//inicio (Servicios sin calculo:Carguío(animal); Acopio) 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==4 || document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==6 || document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==14 || document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==15){
total=0;
document.forms[x].total.value=total;
alert("Este producto no tiene disponible este servicio");
}// (Servicio:Carguío(animal); Acopio) 


// inicio (Servicio:descarga frio)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==2){
total= document.forms[x].peso.value * 15;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:descarga frio)


// inicio (Servicio:carguío)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==3){
total= document.forms[x].peso.value * 20;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:carguío)


// inicio (Servicio:mantención)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==7){
total= document.forms[x].peso.value * 20;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:mantención)


// inicio (Servicio:temp. especial)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==8){
total= document.forms[x].peso.value * 22;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:temp. especial)


// inicio (Servicio:congelado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==9){
total= document.forms[x].peso.value * 51;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:congelado)


// inicio (Servicio:trasvasije)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==11){
total= document.forms[x].peso.value * 20;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)


// inicio (Servicio:Reembalaje)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==12){
total= document.forms[x].peso.value * 20;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Reembalaje)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==13){
total= document.forms[x].peso.value * 1500;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==21){
total= document.forms[x].peso.value * 3000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==22){
total= document.forms[x].peso.value * 6500;
document.forms[x].total.value="$ "+total;
}


// inicio (Servicio:Enmallado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==17){
total= document.forms[x].peso.value * 30;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Enmallado)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==18){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

// inicio (Servicio:Sellado skit)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==19){
total= document.forms[x].peso.value * 23;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==23){
total= document.forms[x].peso.value * 12;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==24){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==25){
total= document.forms[x].peso.value * 12000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)


// inicio (Servicio:Rayos x)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==20){
total= document.forms[x].peso.value * 0.6;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Rayos x)

// inicio (Servicio:Climatizado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==26){
total= document.forms[x].peso.value * 29;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Climatizado)

}//FIN  OTROS PRODUCTOS DEL MAR
//-----------------------------------------------------------------------------------------//
//-------------------------------Hortofrutícolas-------------------------------------------//
//-----------------------------------------------------------------------------------------//
if(document.forms[x].producto.options[document.forms[x].producto.selectedIndex].value==4){ 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==0){
total=0;
document.forms[x].total.value=total;
}// fin validacion del campos nulo valores 0 


//inicio (Servicios sin calculo:Carguío(animal); Acopio) 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==4 || document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==6){
total=0;
document.forms[x].total.value=total;
alert("Este producto no tiene disponible este servicio");
}// (Servicio:Carguío(animal); Acopio) 


// inicio (Servicio:descarga frio)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==2){
total= document.forms[x].peso.value * 30;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:descarga frio)


// inicio (Servicio:carguío)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==3){
total= document.forms[x].peso.value * 30;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:carguío)


// inicio (Servicio:mantención)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==7){
total= document.forms[x].peso.value * 30;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:mantención)


// inicio (Servicio:temp. especial)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==8){
total= document.forms[x].peso.value * 25;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:temp. especial)


// inicio (Servicio:congelado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==9){
total= document.forms[x].peso.value * 51;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:congelado)


// inicio (Servicio:trasvasije)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==11){
total= document.forms[x].peso.value * 30;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)


// inicio (Servicio:Reembalaje)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==12){
total= document.forms[x].peso.value * 30;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Reembalaje)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==13){
total= document.forms[x].peso.value * 1500;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==21){
total= document.forms[x].peso.value * 3000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==22){
total= document.forms[x].peso.value * 6500;
document.forms[x].total.value="$ "+total;
}

// inicio (Servicio:Inspecciones Aéreas)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==14){
total= document.forms[x].peso.value * 7000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Inspecciones)


// inicio (Servicio:Inspecciones Marítima)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==15){
total= document.forms[x].peso.value * 10000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Inspecciones Marítima)


// inicio (Servicio:enmallado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==17){
total= document.forms[x].peso.value * 30;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:enmallado)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==18){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

// inicio (Servicio:Sellado skit)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==19){
total= document.forms[x].peso.value * 23;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==23){
total= document.forms[x].peso.value * 12;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==24){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==25){
total= document.forms[x].peso.value * 12000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)


// inicio (Servicio:rayos x)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==20){
total= document.forms[x].peso.value * 0.60;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:rayos x)

// inicio (Servicio:Climatizado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==26){
total= document.forms[x].peso.value * 29;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Climatizado)
}//FIN HORTOFRUTÍCOLAS
//-----------------------------------------------------------------------------------------//
//-------------------------------CARGA SECA------------------------------------------------//
//-----------------------------------------------------------------------------------------//
if(document.forms[x].producto.options[document.forms[x].producto.selectedIndex].value==5){ 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==0){
total=0;
document.forms[x].total.value=total;
}// fin validacion del campos nulo valores 0 


//inicio (Servicios sin calculo:Carguío(animal); Acopio) 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==2 || document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==4 || document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==14 || document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==15){
total=0;
document.forms[x].total.value=total;
alert("Este producto no tiene disponible este servicio");
}// (Servicio:DESCARGA FRÍO; CARGUÍO(animal); MANTENCIÓN; TEMP. ESPECIAL; CONGELADO; //ENMALLADO; SELLADO; RAYOS X) 


// inicio (Servicio:carguío)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==3){
total= document.forms[x].peso.value * 29;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:carguío)


// inicio (Servicio:acopio)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==6){
total= document.forms[x].peso.value * 29;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:acopio)


// inicio (Servicio:mantencion)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==7){
total= document.forms[x].peso.value * 30;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:mantencion)


// inicio (Servicio:acopio)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==8){
total= document.forms[x].peso.value * 22;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:acopio)


// inicio (Servicio:acopio)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==9){
total=0;
document.forms[x].total.value=total;
alert("Este producto no tiene disponible este servicio");
}// fin (Servicio:acopio)


// inicio (Servicio:acopio)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==11){
total= document.forms[x].peso.value * 29;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:acopio)


// inicio (Servicio:acopio)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==12){
total= document.forms[x].peso.value * 29;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:acopio)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==13){
total= document.forms[x].peso.value * 1500;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==21){
total= document.forms[x].peso.value * 3000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==22){
total= document.forms[x].peso.value * 6500;
document.forms[x].total.value="$ "+total;
}

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==21){
total= document.forms[x].peso.value * 3000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==22){
total= document.forms[x].peso.value * 6500;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)
// inicio (Servicio:enmallado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==17){
total= document.forms[x].peso.value * 30;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:enmallado)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==18){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

// inicio (Servicio:Sellado skit)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==19){
total= document.forms[x].peso.value * 23;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==23){
total= document.forms[x].peso.value * 12;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==24){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==25){
total= document.forms[x].peso.value * 12000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)


// inicio (Servicio:rayos x)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==20){
total= document.forms[x].peso.value * 0.60;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:rayos x)

// inicio (Servicio:Climatizado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==26){
total= document.forms[x].peso.value * 29;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Climatizado)

}//FIN CARGA SECA
//-----------------------------------------------------------------------------------------//
//--------------------------------------SEMILLAS-------------------------------------------//
//-----------------------------------------------------------------------------------------//
if(document.forms[x].producto.options[document.forms[x].producto.selectedIndex].value==6){ 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==0){
total=0;
document.forms[x].total.value=total;
}// fin validacion del campos nulo valores 0 


//inicio (Servicios sin calculo:Carguío(animal); Acopio) 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==2 || document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==4 || document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==7 || document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==8 || document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==9){
total=0;
document.forms[x].total.value=total;
alert("Este producto no tiene disponible este servicio");
}// (Servicio:DESCARGA FRÍO; CARGUÍO(animal); MANTENCIÓN; TEMP. ESPECIAL; CONGELADO; //ENMALLADO; SELLADO; RAYOS X) 


// inicio (Servicio:carguío)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==3){
total= document.forms[x].peso.value * 25;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:carguío)


// inicio (Servicio:acopio)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==6){
total= document.forms[x].peso.value * 25;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:acopio)


// inicio (Servicio:trasvasije)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==11){
total= document.forms[x].peso.value * 25;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)


// inicio (Servicio:reembalajes)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==12){
total=0;
document.forms[x].total.value=total;
alert("Este producto no tiene disponible este servicio");
}// fin (Servicio:reembalajes)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==13){
total= document.forms[x].peso.value * 1500;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==21){
total= document.forms[x].peso.value * 3000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==22){
total= document.forms[x].peso.value * 6500;
document.forms[x].total.value="$ "+total;
}

// inicio (Servicio:inspecciones)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==14){
total= document.forms[x].peso.value * 7000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:inspecciones)


// inicio (Servicio:inspecciones marítimas)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==15){
total= document.forms[x].peso.value * 10000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:inspecciones marítimas)


// inicio (Servicio:enmallado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==17){
total= document.forms[x].peso.value * 30;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:enmallado)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==18){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

// inicio (Servicio:Sellado skit)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==19){
total= document.forms[x].peso.value * 23;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==23){
total= document.forms[x].peso.value * 12;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==24){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==25){
total= document.forms[x].peso.value * 12000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)


// inicio (Servicio:rayos x)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==20){
total= document.forms[x].peso.value * 0.60;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:rayos x)

// inicio (Servicio:Climatizado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==26){
total= document.forms[x].peso.value * 29;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Climatizado)
}//FIN SEMILLAS
//-----------------------------------------------------------------------------------------//
//--------------------------------------Valorados------------------------------------------//
//-----------------------------------------------------------------------------------------//
if(document.forms[x].producto.options[document.forms[x].producto.selectedIndex].value==7){ 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==0){
total=0;
document.forms[x].total.value=total;
}// fin validacion del campos nulo valores 0 


//inicio (Servicios sin calculo:Carguío(animal); Acopio) 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==2 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==4 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==7 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==8 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==9 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==14 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==15
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==26){
total=0;
document.forms[x].total.value=total;
alert("Este producto no tiene disponible este servicio");
}// (Servicio:DESCARGA FRÍO; CARGUÍO(animal); MANTENCIÓN; TEMP. ESPECIAL; CONGELADO; //ENMALLADO; SELLADO; RAYOS X) 


// inicio (Servicio:carguío)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==3){
total= document.forms[x].peso.value * 55;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:carguío)


// inicio (Servicio:acopio)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==6){
total= document.forms[x].peso.value * 58;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:acopio)


// inicio (Servicio:trasvasije)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==11){
total=0;
document.forms[x].total.value=total;
alert("Este producto no tiene disponible este servicio");
}// fin (Servicio:trasvasije)


// inicio (Servicio:reembalajes)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==12){
total=0;
document.forms[x].total.value=total;
alert("Este producto no tiene disponible este servicio");
}// fin (Servicio:reembalajes)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==13){
total= document.forms[x].peso.value * 1500;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==21){
total= document.forms[x].peso.value * 3000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:trasvasije)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==22){
total= document.forms[x].peso.value * 6500;
document.forms[x].total.value="$ "+total;
}


// inicio (Servicio:enmallado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==17){
total= document.forms[x].peso.value * 30;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:enmallado)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==18){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

// inicio (Servicio:Sellado skit)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==19){
total= document.forms[x].peso.value * 23;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==23){
total= document.forms[x].peso.value * 12;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==24){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==25){
total= document.forms[x].peso.value * 12000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)


// inicio (Servicio:rayos x)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==20){
total= document.forms[x].peso.value * 0.60;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:rayos x)

}//FIN VALORADOS
//-----------------------------------------------------------------------------------------//
//--------------------------------------Animales-------------------------------------------//
//-----------------------------------------------------------------------------------------//
if(document.forms[x].producto.options[document.forms[x].producto.selectedIndex].value==8){ 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==0){
total=0;
document.forms[x].total.value=total;
}// fin validacion del campos nulo valores 0 


//inicio (Servicios sin calculo) 
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==2 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==3 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==6 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==7 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==8 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==9 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==11 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==12 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==13 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==14 
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==15
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==26
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==21
|| document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==22){
total=0;
document.forms[x].total.value=total;
alert("Este producto no tiene disponible este servicio");
}// (Servicios:2,3,6,7,8,9,11,12,13,14,15) 


// inicio (Servicio:carguío(animal))
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==4){
total= document.forms[x].peso.value * 38000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:carguío(animal))


// inicio (Servicio:enmallado)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==17){
total= document.forms[x].peso.value * 30;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:enmallado)


if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==18){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

// inicio (Servicio:Sellado skit)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==19){
total= document.forms[x].peso.value * 23;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==23){
total= document.forms[x].peso.value * 12;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==24){
total= document.forms[x].peso.value * 6000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)

if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==25){
total= document.forms[x].peso.value * 12000;
document.forms[x].total.value="$ "+total;
}// fin (Servicio:Sellado)


// inicio (Servicio:rayos x)
if(document.forms[x].servicio.options[document.forms[x].servicio.selectedIndex].value==20){
total= document.forms[x].peso.value * 0.60;
document.forms[x].total.value="US$ "+total;
}// fin (Servicio:rayos x)

}//FIN VALORADOS
//-----------------------------------------------------------------------------------------//
//--------------------------------------finfinfin------------------------------------------//
//-----------------------------------------------------------------------------------------//

}//fin funcion
function fresh(){
location.href="calculo.html";
}

