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