<!--
function calc()
{
 var c0 = new Array(760,1113,1465,1818,2173,2522,2874,3230,3587,3664,7114);
 var c1 = new Array(959,1319,1679,2042,2402,2760,3123,3483,3844,3918,7439);
 var c2 = new Array(966,1335,1704,2070,2437,2809,3173,3540,3908,3989,7582);
 var c3 = new Array(974,1349,1725,2103,2478,2852,3230,3605,3981,4071,7745);
 var c4 = new Array(981,1366,1749,2131,2514,2900,3280,3662,4045,4142,7887);
 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;
sps = s;
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;
spt = (Math.round(t * .85 *100)) /100;
document.calcFORM.sptotal.value = spt;
document.calcFORM.speach.value = (Math.round(spt * 100 / document.calcFORM.qua.value)) /100;
document.calcFORM.spship.value = sps;
spr = spt + sps;
document.calcFORM.sptresult.value = (Math.round(spr *100))/100;
document.calcFORM.speresult.value = (Math.round(spr * 100 / document.calcFORM.qua.value)) /100;

}
// -->


