<!--
function calc()
{
 var c0 = new Array(672,989,1309,1627,1942,2262,2580,2901,3215,3292,6398);
 var c1 = new Array(844,1170,1495,1818,2142,2469,2790,3113,3438,3513,6681);
 var c2 = new Array(851,1182,1513,1846,2177,2506,2840,3170,3502,3575,6805);
 var c3 = new Array(858,1196,1535,1871,2208,2549,2883,3219,3558,3646,6947);
 var c4 = new Array(865,1209,1553,1899,2243,2586,2933,3276,3621,3708,7071);
 var sp = new Array(231.85,318.57,373.43,614.13);
t = 0;
if(eval(document.calcFORM.col.value) == 0) {t =c0[document.calcFORM.qua.selectedIndex];}
if(eval(document.calcFORM.col.value) == 1) {t =c1[document.calcFORM.qua.selectedIndex];}
if(eval(document.calcFORM.col.value) == 2) {t =c2[document.calcFORM.qua.selectedIndex];}
if(eval(document.calcFORM.col.value) == 3) {t =c3[document.calcFORM.qua.selectedIndex];}
if(eval(document.calcFORM.col.value) == 4) {t =c4[document.calcFORM.qua.selectedIndex];}
s = sp[document.calcFORM.des.selectedIndex] * document.calcFORM.qua.value / 100;
document.calcFORM.total.value = t;
document.calcFORM.each.value = (Math.round(t * 100 / document.calcFORM.qua.value)) /100;
document.calcFORM.ship.value = s;
r =  t + s;
document.calcFORM.tresult.value = (Math.round(r *100))/100;
document.calcFORM.eresult.value = (Math.round(r * 100 / document.calcFORM.qua.value)) /100;

}
// -->


