var tax = 1.20; 
var Z1 = 672*tax;var Z2 = 588*tax;var Z3 = 546*tax;var Z4 = 450*tax;var Z5 = 1680*tax;var Z6 = 840*tax;var Z7 = 720*tax;var Z8 = 600*tax;var Z9 = 2100*tax;// HYUNDAI
var A1 = 672*tax;var A2 = 588*tax;var A3 = 546*tax;var A4 = 450*tax;var A5 = 1680*tax;var A6 = 840*tax;var A7 = 720*tax;var A8 = 600*tax;var A9 = 2100*tax;//TOYOTA 
var B1 = 850*tax;var B2 = 720*tax;var B3 = 600*tax;var B4 = 500*tax;var B5 = 2125*tax;var B6 = 950*tax;var B7 = 800*tax;var B8 = 750*tax;var B9 = 2375*tax;//FABIA
var C1 = 1050*tax;var C2 = 900*tax;var C3 = 850*tax;var C4 = 600*tax;var C5 = 2625*tax;var C6 = 1200*tax;var C7 = 1050*tax;var C8 = 950*tax;var C9 = 3000*tax;//MITSUBISHI
var O1 = 1050*tax;var O2 = 900*tax;var O3 = 850*tax;var O4 = 600*tax;var O5 = 2625*tax;var O6 = 1200*tax;var O7 = 1050*tax;var O8 = 950*tax;var O9 = 3000*tax;//CORSA
var D1 = 1400*tax;var D2 = 1250*tax;var D3 = 1200*tax;var D4 = 800*tax;var D5 = 3500*tax;var D6 = 1600*tax;var D7 = 1450*tax;var D8 = 1370*tax;var D9 = 4000*tax;//ASTRA
var E1 = 1200*tax;var E2 = 1100*tax;var E3 = 1050*tax;var E4 = 700*tax;var E5 = 3000*tax;var E6 = 1400*tax;var E7 = 1300*tax;var E8 = 1250*tax;var E9 = 3500*tax;//MICRA AUT
var R1 = 1200*tax;var R2 = 1100*tax;var R3 = 1050*tax;var R4 = 700*tax;var R5 = 3000*tax;var R6 = 1400*tax;var R7 = 1300*tax;var R8 = 1250*tax;var R9 = 3500*tax;//RENAULT
var G1 = 1400*tax;var G2 = 1250*tax;var G3 = 1200*tax;var G4 = 800*tax;var G5 = 3500*tax;var G6 = 1600*tax;var G7 = 1450*tax;var G8 = 1370*tax;var G9 = 4000*tax;//ASTRA AUT
var S1 = 1500*tax;var S2 = 1320*tax;var S3 = 1250*tax;var S4 = 850*tax;var S5 = 3750*tax;var S6 = 1700*tax;var S7 = 1550*tax;var S8 = 1450*tax;var S9 = 4250*tax;//PEUGEOT 307 AUT
var H1 = 1500*tax;var H2 = 1320*tax;var H3 = 1250*tax;var H4 = 850*tax;var H5 = 3750*tax;var H6 = 1700*tax;var H7 = 1550*tax;var H8 = 1450*tax;var H9 = 4250*tax;//ASTRA CARAVAN
var P1 = 1800*tax;var P2 = 1600*tax;var P3 = 1450*tax;var P4 = 1000*tax;var P5 = 4500*tax;var P6 = 2100*tax;var P7 = 1950*tax;var P8 = 1700*tax;var P9 = 5250*tax;//FORD C MAX
var I1 = 2300*tax;var I2 = 1990*tax;var I3 = 1790*tax;var I4 = 1100*tax;var I5 = 5750*tax;var I6 = 2800*tax;var I7 = 2490*tax;var I8 = 1990*tax;var I9 = 7000*tax;//VW PASSAT AUT
var J1 = 1800*tax;var J2 = 1600*tax;var J3 = 1450*tax;var J4 = 1000*tax;var J5 = 4500*tax;var J6 = 2100*tax;var J7 = 1950*tax;var J8 = 1700*tax;var J9 = 5250*tax;//VW PASSAT
var K1 = 2700*tax;var K2 = 2000*tax;var K3 = 1900*tax;var K4 = 1500*tax;var K5 = 6750*tax;var K6 = 3000*tax;var K7 = 2400*tax;var K8 = 2250*tax;var K9 = 7500*tax;//CHRYSLER
var L1 = 4000*tax;var L2 = 3500*tax;var L3 = 3300*tax;var L4 = 2500*tax;var L5 = 10000*tax;var L6 = 5500*tax;var L7 = 4500*tax;var L8 = 4200*tax;var L9 = 13750*tax;//C-CLASS
var M1 = 3200*tax;var M2 = 2700*tax;var M3 = 2550*tax;var M4 = 1900*tax;var M5 = 8000*tax;var M6 = 3800*tax;var M7 = 3100*tax;var M8 = 2900*tax;var M9 = 9500*tax;//E-CLASS
var N1 = 2700*tax;var N2 = 2000*tax;var N3 = 1900*tax;var N4 = 1500*tax;var N5 = 6750*tax;var N6 = 3000*tax;var N7 = 2400*tax;var N8 = 2250*tax;var N9 = 7500*tax;//ZAFIRA
var T1 = 3200*tax;var T2 = 2700*tax;var T3 = 2550*tax;var T4 = 1900*tax;var T5 = 8000*tax;var T6 = 3800*tax;var T7 = 3100*tax;var T8 = 2900*tax;var T9 = 9500*tax;//VITO
var U1 = 3200*tax;var U2 = 2700*tax;var U3 = 2550*tax;var U4 = 1900*tax;var U5 = 8000*tax;var U6 = 3800*tax;var U7 = 3100*tax;var U8 = 2900*tax;var U9 = 9500*tax;//MULTIVAN

function compute(form){
called=true;
//-------Productline 1----------
if (form.Currency[0].selected){
	Rate=1
}
if(form.Currency[1].selected){
	Rate =0.0416;
}
else if (form.Currency[2].selected){
	Rate =0.0588;
}
else if (form.Currency[3].selected){
	Rate =0.037;
}
else  if (form.Currency[4].selected){
	Rate =1.7857;
}
else if (form.Currency[5].selected){
	Rate =0.0588;
}
else if (form.Currency[6].selected){
	Rate =0.0588;
}
else if (form.Currency[7].selected){
	Rate =4.5454;
}

Z1conv=Math.round(Z1*Rate);
form.HYU1.value=Z1conv;
Z2conv=Math.round(Z2*Rate);
form.HYU2.value=Z2conv;
Z3conv=Math.round(Z3*Rate);
form.HYU3.value=Z3conv;
Z4conv=Math.round(Z4*Rate);
form.HYU4.value=Z4conv;
Z5conv=Math.round(Z5*Rate);
form.HYU5.value=Z5conv;
Z6conv=Math.round(Z6*Rate);
form.HYU6.value=Z6conv;
Z7conv=Math.round(Z7*Rate);
form.HYU7.value=Z7conv;
Z8conv=Math.round(Z8*Rate);
form.HYU8.value=Z8conv;
Z9conv=Math.round(Z9*Rate);
form.HYU9.value=Z9conv;

A1conv=Math.round(A1*Rate);
form.TOY1.value=A1conv;
A2conv=Math.round(A2*Rate);
form.TOY2.value=A2conv;
A3conv=Math.round(A3*Rate);
form.TOY3.value=A3conv;
A4conv=Math.round(A4*Rate);
form.TOY4.value=A4conv;
A5conv=Math.round(A5*Rate);
form.TOY5.value=A5conv;
A6conv=Math.round(A6*Rate);
form.TOY6.value=A6conv;
A7conv=Math.round(A7*Rate);
form.TOY7.value=A7conv;
A8conv=Math.round(A8*Rate);
form.TOY8.value=A8conv;
A9conv=Math.round(A9*Rate);
form.TOY9.value=A9conv;

B1conv=Math.round(B1*Rate);
form.FAB1.value=B1conv;
B2conv=Math.round(B2*Rate);
form.FAB2.value=B2conv;
B3conv=Math.round(B3*Rate);
form.FAB3.value=B3conv;
B4conv=Math.round(B4*Rate);
form.FAB4.value=B4conv;
B5conv=Math.round(B5*Rate);
form.FAB5.value=B5conv;
B6conv=Math.round(B6*Rate);
form.FAB6.value=B6conv;
B7conv=Math.round(B7*Rate);
form.FAB7.value=B7conv;
B8conv=Math.round(B8*Rate);
form.FAB8.value=B8conv;
B9conv=Math.round(B9*Rate);
form.FAB9.value=B9conv;

C1conv=Math.round(C1*Rate);
form.MIC1.value=C1conv;
C2conv=Math.round(C2*Rate);
form.MIC2.value=C2conv;
C3conv=Math.round(C3*Rate);
form.MIC3.value=C3conv;
C4conv=Math.round(C4*Rate);
form.MIC4.value=C4conv;
C5conv=Math.round(C5*Rate);
form.MIC5.value=C5conv;
C6conv=Math.round(C6*Rate);
form.MIC6.value=C6conv;
C7conv=Math.round(C7*Rate);
form.MIC7.value=C7conv;
C8conv=Math.round(C8*Rate);
form.MIC8.value=C8conv;
C9conv=Math.round(C9*Rate);
form.MIC9.value=C9conv;

O1conv=Math.round(O1*Rate);
form.COR1.value=O1conv;
O2conv=Math.round(O2*Rate);
form.COR2.value=O2conv;
O3conv=Math.round(O3*Rate);
form.COR3.value=O3conv;
O4conv=Math.round(O4*Rate);
form.COR4.value=O4conv;
O5conv=Math.round(O5*Rate);
form.COR5.value=O5conv;
O6conv=Math.round(O6*Rate);
form.COR6.value=O6conv;
O7conv=Math.round(O7*Rate);
form.COR7.value=O7conv;
O8conv=Math.round(O8*Rate);
form.COR8.value=O8conv;
O9conv=Math.round(O9*Rate);
form.COR9.value=O9conv;

D1conv=Math.round(D1*Rate);
form.AS1.value=D1conv;
D2conv=Math.round(D2*Rate);
form.AS2.value=D2conv;
D3conv=Math.round(D3*Rate);
form.AS3.value=D3conv;
D4conv=Math.round(D4*Rate);
form.AS4.value=D4conv;
D5conv=Math.round(D5*Rate);
form.AS5.value=D5conv;
D6conv=Math.round(D6*Rate);
form.AS6.value=D6conv;
D7conv=Math.round(D7*Rate);
form.AS7.value=D7conv;
D8conv=Math.round(D8*Rate);
form.AS8.value=D8conv;
D9conv=Math.round(D9*Rate);
form.AS9.value=D9conv;

E1conv=Math.round(E1*Rate);
form.MICa1.value=E1conv;
E2conv=Math.round(E2*Rate);
form.MICa2.value=E2conv;
E3conv=Math.round(E3*Rate);
form.MICa3.value=E3conv;
E4conv=Math.round(E4*Rate);
form.MICa4.value=E4conv;
E5conv=Math.round(E5*Rate);
form.MICa5.value=E5conv;
E6conv=Math.round(E6*Rate);
form.MICa6.value=E6conv;
E7conv=Math.round(E7*Rate);
form.MICa7.value=E7conv;
E8conv=Math.round(E8*Rate);
form.MICa8.value=E8conv;
E9conv=Math.round(E9*Rate);
form.MICa9.value=E9conv;

R1conv=Math.round(R1*Rate);
form.CORa1.value=R1conv;
R2conv=Math.round(R2*Rate);
form.CORa2.value=R2conv;
R3conv=Math.round(R3*Rate);
form.CORa3.value=R3conv;
R4conv=Math.round(R4*Rate);
form.CORa4.value=R4conv;
R5conv=Math.round(R5*Rate);
form.CORa5.value=R5conv;
R6conv=Math.round(R6*Rate);
form.CORa6.value=R6conv;
R7conv=Math.round(R7*Rate);
form.CORa7.value=R7conv;
R8conv=Math.round(R8*Rate);
form.CORa8.value=R8conv;
R9conv=Math.round(R9*Rate);
form.CORa9.value=R9conv;

G1conv=Math.round(G1*Rate);
form.ASa1.value=G1conv;
G2conv=Math.round(G2*Rate);
form.ASa2.value=G2conv;
G3conv=Math.round(G3*Rate);
form.ASa3.value=G3conv;
G4conv=Math.round(G4*Rate);
form.ASa4.value=G4conv;
G5conv=Math.round(G5*Rate);
form.ASa5.value=G5conv;
G6conv=Math.round(G6*Rate);
form.ASa6.value=G6conv;
G7conv=Math.round(G7*Rate);
form.ASa7.value=G7conv;
G8conv=Math.round(G8*Rate);
form.ASa8.value=G8conv;
G9conv=Math.round(G9*Rate);
form.ASa9.value=G9conv;

S1conv=Math.round(S1*Rate);
form.P3071.value=S1conv;
S2conv=Math.round(S2*Rate);
form.P3072.value=S2conv;
S3conv=Math.round(S3*Rate);
form.P3073.value=S3conv;
S4conv=Math.round(S4*Rate);
form.P3074.value=S4conv;
S5conv=Math.round(S5*Rate);
form.P3075.value=S5conv;
S6conv=Math.round(S6*Rate);
form.P3076.value=S6conv;
S7conv=Math.round(S7*Rate);
form.P3077.value=S7conv;
S8conv=Math.round(S8*Rate);
form.P3078.value=S8conv;
S9conv=Math.round(S9*Rate);
form.P3079.value=S9conv;

H1conv=Math.round(H1*Rate);
form.ASc1.value=H1conv;
H2conv=Math.round(H2*Rate);
form.ASc2.value=H2conv;
H3conv=Math.round(H3*Rate);
form.ASc3.value=H3conv;
H4conv=Math.round(H4*Rate);
form.ASc4.value=H4conv;
H5conv=Math.round(H5*Rate);
form.ASc5.value=H5conv;
H6conv=Math.round(H6*Rate);
form.ASc6.value=H6conv;
H7conv=Math.round(H7*Rate);
form.ASc7.value=H7conv;
H8conv=Math.round(H8*Rate);
form.ASc8.value=H8conv;
H9conv=Math.round(H9*Rate);
form.ASc9.value=H9conv;

P1conv=Math.round(P1*Rate);
form.VECc1.value=P1conv;
P2conv=Math.round(P2*Rate);
form.VECc2.value=P2conv;
P3conv=Math.round(P3*Rate);
form.VECc3.value=P3conv;
P4conv=Math.round(P4*Rate);
form.VECc4.value=P4conv;
P5conv=Math.round(P5*Rate);
form.VECc5.value=P5conv;
P6conv=Math.round(P6*Rate);
form.VECc6.value=P6conv;
P7conv=Math.round(P7*Rate);
form.VECc7.value=P7conv;
P8conv=Math.round(P8*Rate);
form.VECc8.value=P8conv;
P9conv=Math.round(P9*Rate);
form.VECc9.value=P9conv;

I1conv=Math.round(I1*Rate);
form.P6071.value=I1conv;
I2conv=Math.round(I2*Rate);
form.P6072.value=I2conv;
I3conv=Math.round(I3*Rate);
form.P6073.value=I3conv;
I4conv=Math.round(I4*Rate);
form.P6074.value=I4conv;
I5conv=Math.round(I5*Rate);
form.P6075.value=I5conv;
I6conv=Math.round(I6*Rate);
form.P6076.value=I6conv;
I7conv=Math.round(I7*Rate);
form.P6077.value=I7conv;
I8conv=Math.round(I8*Rate);
form.P6078.value=I8conv;
I9conv=Math.round(I9*Rate);
form.P6079.value=I9conv;

J1conv=Math.round(J1*Rate);
form.VEC1.value=J1conv;
J2conv=Math.round(J2*Rate);
form.VEC2.value=J2conv;
J3conv=Math.round(J3*Rate);
form.VEC3.value=J3conv;
J4conv=Math.round(J4*Rate);
form.VEC4.value=J4conv;
J5conv=Math.round(J5*Rate);
form.VEC5.value=J5conv;
J6conv=Math.round(J6*Rate);
form.VEC6.value=J6conv;
J7conv=Math.round(J7*Rate);
form.VEC7.value=J7conv;
J8conv=Math.round(J8*Rate);
form.VEC8.value=J8conv;
J9conv=Math.round(J9*Rate);
form.VEC9.value=J9conv;

K1conv=Math.round(K1*Rate);
form.VOL1.value=K1conv;
K2conv=Math.round(K2*Rate);
form.VOL2.value=K2conv;
K3conv=Math.round(K3*Rate);
form.VOL3.value=K3conv;
K4conv=Math.round(K4*Rate);
form.VOL4.value=K4conv;
K5conv=Math.round(K5*Rate);
form.VOL5.value=K5conv;
K6conv=Math.round(K6*Rate);
form.VOL6.value=K6conv;
K7conv=Math.round(K7*Rate);
form.VOL7.value=K7conv;
K8conv=Math.round(K8*Rate);
form.VOL8.value=K8conv;
K9conv=Math.round(K9*Rate);
form.VOL9.value=K9conv;

L1conv=Math.round(L1*Rate);
form.MER1.value=L1conv;
L2conv=Math.round(L2*Rate);
form.MER2.value=L2conv;
L3conv=Math.round(L3*Rate);
form.MER3.value=L3conv;
L4conv=Math.round(L4*Rate);
form.MER4.value=L4conv;
L5conv=Math.round(L5*Rate);
form.MER5.value=L5conv;
L6conv=Math.round(L6*Rate);
form.MER6.value=L6conv;
L7conv=Math.round(L7*Rate);
form.MER7.value=L7conv;
L8conv=Math.round(L8*Rate);
form.MER8.value=L8conv;
L9conv=Math.round(L9*Rate);
form.MER9.value=L9conv;

M1conv=Math.round(M1*Rate);
form.MERE1.value=M1conv;
M2conv=Math.round(M2*Rate);
form.MERE2.value=M2conv;
M3conv=Math.round(M3*Rate);
form.MERE3.value=M3conv;
M4conv=Math.round(M4*Rate);
form.MERE4.value=M4conv;
M5conv=Math.round(M5*Rate);
form.MERE5.value=M5conv;
M6conv=Math.round(M6*Rate);
form.MERE6.value=M6conv;
M7conv=Math.round(M7*Rate);
form.MERE7.value=M7conv;
M8conv=Math.round(M8*Rate);
form.MERE8.value=M8conv;
M9conv=Math.round(M9*Rate);
form.MERE9.value=M9conv;

N1conv=Math.round(N1*Rate);
form.ZAF1.value=N1conv;
N2conv=Math.round(N2*Rate);
form.ZAF2.value=N2conv;
N3conv=Math.round(N3*Rate);
form.ZAF3.value=N3conv;
N4conv=Math.round(N4*Rate);
form.ZAF4.value=N4conv;
N5conv=Math.round(N5*Rate);
form.ZAF5.value=N5conv;
N6conv=Math.round(N6*Rate);
form.ZAF6.value=N6conv;
N7conv=Math.round(N7*Rate);
form.ZAF7.value=N7conv;
N8conv=Math.round(N8*Rate);
form.ZAF8.value=N8conv;
N9conv=Math.round(N9*Rate);
form.ZAF9.value=N9conv;

T1conv=Math.round(T1*Rate);
form.VIT1.value=T1conv;
T2conv=Math.round(T2*Rate);
form.VIT2.value=T2conv;
T3conv=Math.round(T3*Rate);
form.VIT3.value=T3conv;
T4conv=Math.round(T4*Rate);
form.VIT4.value=T4conv;
T5conv=Math.round(T5*Rate);
form.VIT5.value=T5conv;
T6conv=Math.round(T6*Rate);
form.VIT6.value=T6conv;
T7conv=Math.round(T7*Rate);
form.VIT7.value=T7conv;
T8conv=Math.round(T8*Rate);
form.VIT8.value=T8conv;
T9conv=Math.round(T9*Rate);
form.VIT9.value=T9conv;

U1conv=Math.round(U1*Rate);
form.VWv1.value=U1conv;
U2conv=Math.round(U2*Rate);
form.VWv2.value=U2conv;
U3conv=Math.round(U3*Rate);
form.VWv3.value=U3conv;
U4conv=Math.round(U4*Rate);
form.VWv4.value=U4conv;
U5conv=Math.round(U5*Rate);
form.VWv5.value=U5conv;
U6conv=Math.round(U6*Rate);
form.VWv6.value=U6conv;
U7conv=Math.round(U7*Rate);
form.VWv7.value=U7conv;
U8conv=Math.round(U8*Rate);
form.VWv8.value=U8conv;
U9conv=Math.round(U9*Rate);
form.VWv9.value=U9conv;
}

