//nothing = 0;
//decimal = 2;

///////// COFFEE PRICES 200
assam_200 = nothing;
darjeeling_200 = nothing;
russian_caravan_200 = nothing;
english_breakfast_200 = nothing;
golden_yunnan_200 = nothing;
ceylon_200 = nothing;
lady_grey_200 = nothing;
vanilla_200 = nothing;
green_monkey_200 = 30.00;
lung_ching_200 = 20.50;
cottage_green_200 = nothing;
chamomile_200 = 16.00;
peppermint_200 = 16.00;

///////// COFFEE PRICES 500
assam_500 =  44;
darjeeling_500 = 47;
russian_caravan_500 =  40;
english_breakfast_500 =  32;
golden_yunnan_500 =  45.5;
ceylon_500 =  40;
lady_grey_500 =  39;
vanilla_500 =  45;
green_monkey_500 =  nothing;
lung_ching_500 =  nothing;
cottage_green_500 =  47.5;
chamomile_500 =  nothing;
peppermint_500 = nothing;

////////// ASIGN CURRENCY TO VARS
assam_200 = assam_200.toFixed(decimal);
assam_500 = assam_500.toFixed(decimal);
darjeeling_200 = darjeeling_200.toFixed(decimal);
darjeeling_500 = darjeeling_500.toFixed(decimal);
russian_caravan_200 = russian_caravan_200.toFixed(decimal);
russian_caravan_500 = russian_caravan_500.toFixed(decimal);
english_breakfast_200 = english_breakfast_200.toFixed(decimal);
english_breakfast_500 = english_breakfast_500.toFixed(decimal);
golden_yunnan_200 = golden_yunnan_200.toFixed(decimal);
golden_yunnan_500 = golden_yunnan_500.toFixed(decimal);
ceylon_200 = ceylon_200.toFixed(decimal);
ceylon_500 = ceylon_500.toFixed(decimal);
lady_grey_200 = lady_grey_200.toFixed(decimal);
lady_grey_500 = lady_grey_500.toFixed(decimal);
vanilla_200 = vanilla_200.toFixed(decimal);
vanilla_500 = vanilla_500.toFixed(decimal);
green_monkey_200 = green_monkey_200.toFixed(decimal);
green_monkey_500 = green_monkey_500.toFixed(decimal);
lung_ching_200 = lung_ching_200.toFixed(decimal);
lung_ching_500 = lung_ching_500.toFixed(decimal);
cottage_green_200 = cottage_green_200.toFixed(decimal);
cottage_green_500 = cottage_green_500.toFixed(decimal);
chamomile_200 = chamomile_200.toFixed(decimal);
chamomile_500 = chamomile_500.toFixed(decimal);
peppermint_200 = peppermint_200.toFixed(decimal);
peppermint_500 = peppermint_500.toFixed(decimal);

function updateTotalTea(){
	updateTotal_1();
updateTotal_2();
updateTotal_3();
updateTotal_4();
updateTotal_5();
updateTotal_6();
updateTotal_7();
updateTotal_8();
updateTotal_9();
updateTotal_10();
updateTotal_11();
updateTotal_12();
updateTotal_13();
updateTotal_14();
updateTotal_15();
coffeeTotal();
updateTotalTea_1();
updateTotalTea_2();
updateTotalTea_3();
updateTotalTea_4();
updateTotalTea_5();
updateTotalTea_6();
updateTotalTea_7();
updateTotalTea_8();
updateTotalTea_9();
updateTotalTea_10();
updateTotalTea_11();
updateTotalTea_12();
updateTotalTea_13();
teaTotal();
updateSubTotal();
}

function updateTotalTea_1(){
//	ammount_tea_1_200_t = document.mocha_form.ammount_tea_1_200.value;
	ammount_tea_1_500_t = document.mocha_form.ammount_tea_1_500.value;
	ammount_tea_1_total = (assam_500 * ammount_tea_1_500_t);
	document.mocha_form.ammount_tea_1_total.value = "$"+ammount_tea_1_total.toFixed(decimal);
}
function updateTotalTea_2(){
	//ammount_tea_2_200_t = document.mocha_form.ammount_tea_2_200.value;
	ammount_tea_2_500_t = document.mocha_form.ammount_tea_2_500.value;
	ammount_tea_2_total = (darjeeling_500 * ammount_tea_2_500_t);
	document.mocha_form.ammount_tea_2_total.value = "$"+ammount_tea_2_total.toFixed(decimal);
}
function updateTotalTea_3(){
//	ammount_tea_3_200_t = document.mocha_form.ammount_tea_3_200.value;
	ammount_tea_3_500_t = document.mocha_form.ammount_tea_3_500.value;
	ammount_tea_3_total = (russian_caravan_500 * ammount_tea_3_500_t);
	document.mocha_form.ammount_tea_3_total.value = "$"+ammount_tea_3_total.toFixed(decimal);
}
function updateTotalTea_4(){
//	ammount_tea_4_200_t = document.mocha_form.ammount_tea_4_200.value;
	ammount_tea_4_500_t = document.mocha_form.ammount_tea_4_500.value;
	ammount_tea_4_total = (english_breakfast_500 * ammount_tea_4_500_t);
	document.mocha_form.ammount_tea_4_total.value = "$"+ammount_tea_4_total.toFixed(decimal);
}
function updateTotalTea_5(){
	//ammount_tea_5_200_t = document.mocha_form.ammount_tea_5_200.value;
	ammount_tea_5_500_t = document.mocha_form.ammount_tea_5_500.value;
	ammount_tea_5_total = (golden_yunnan_500 * ammount_tea_5_500_t);
	document.mocha_form.ammount_tea_5_total.value = "$"+ammount_tea_5_total.toFixed(decimal);
}
function updateTotalTea_6(){
	//ammount_tea_6_200_t = document.mocha_form.ammount_tea_6_200.value;
	ammount_tea_6_500_t = document.mocha_form.ammount_tea_6_500.value;
	ammount_tea_6_total = (ceylon_500 * ammount_tea_6_500_t);
	document.mocha_form.ammount_tea_6_total.value = "$"+ammount_tea_6_total.toFixed(decimal);
}
function updateTotalTea_7(){
	//ammount_tea_7_200_t = document.mocha_form.ammount_tea_7_200.value;
	ammount_tea_7_500_t = document.mocha_form.ammount_tea_7_500.value;
	ammount_tea_7_total = (lady_grey_500 * ammount_tea_7_500_t);
	document.mocha_form.ammount_tea_7_total.value = "$"+ammount_tea_7_total.toFixed(decimal);
}
function updateTotalTea_8(){
//	ammount_tea_8_200_t = document.mocha_form.ammount_tea_8_200.value;
	ammount_tea_8_500_t = document.mocha_form.ammount_tea_8_500.value;
	ammount_tea_8_total = (vanilla_500 * ammount_tea_8_500_t);
	document.mocha_form.ammount_tea_8_total.value = "$"+ammount_tea_8_total.toFixed(decimal);
}
function updateTotalTea_9(){
	ammount_tea_9_200_t = document.mocha_form.ammount_tea_9_200.value;
//	ammount_tea_9_500_t = document.mocha_form.ammount_tea_9_500.value;
	ammount_tea_9_total = (green_monkey_200 * ammount_tea_9_200_t);
	document.mocha_form.ammount_tea_9_total.value = "$"+ammount_tea_9_total.toFixed(decimal);
}
function updateTotalTea_10(){
	ammount_tea_10_200_t = document.mocha_form.ammount_tea_10_200.value;
//	ammount_tea_10_500_t = document.mocha_form.ammount_tea_10_500.value;
	ammount_tea_10_total = (lung_ching_200 * ammount_tea_10_200_t);
	document.mocha_form.ammount_tea_10_total.value = "$"+ammount_tea_10_total.toFixed(decimal);
}
function updateTotalTea_11(){
//	ammount_tea_11_200_t = document.mocha_form.ammount_tea_11_200.value;
	ammount_tea_11_500_t = document.mocha_form.ammount_tea_11_500.value;
	ammount_tea_11_total = (cottage_green_500 * ammount_tea_11_500_t);
	document.mocha_form.ammount_tea_11_total.value = "$"+ammount_tea_11_total.toFixed(decimal);
}
function updateTotalTea_12(){
	ammount_tea_12_200_t = document.mocha_form.ammount_tea_12_200.value;
//	ammount_tea_12_500_t = document.mocha_form.ammount_tea_12_500.value;
	ammount_tea_12_total = (chamomile_200 * ammount_tea_12_200_t);
	document.mocha_form.ammount_tea_12_total.value = "$"+ammount_tea_12_total.toFixed(decimal);
}
function updateTotalTea_13(){
	ammount_tea_13_200_t = document.mocha_form.ammount_tea_13_200.value;
//	ammount_tea_13_500_t = document.mocha_form.ammount_tea_13_500.value;
	ammount_tea_13_total = (peppermint_200 * ammount_tea_13_200_t);
	document.mocha_form.ammount_tea_13_total.value = "$"+ammount_tea_13_total.toFixed(decimal);
}
function teaTotal(){
tea_total = ammount_tea_1_total+ammount_tea_2_total+ammount_tea_3_total+ammount_tea_4_total+ammount_tea_5_total+ammount_tea_6_total+ammount_tea_7_total+ammount_tea_8_total+ammount_tea_9_total+ammount_tea_10_total+ammount_tea_11_total+ammount_tea_12_total+ammount_tea_13_total;
document.mocha_form.tea_total.value = "$"+tea_total.toFixed(decimal);
}
function updateSubTotal(){
subTotalBoth = tea_total + coffe_total;
	document.mocha_form.subTotala.value = "$"+subTotalBoth.toFixed(decimal);
	document.mocha_form.subTotalb.value = "$"+subTotalBoth.toFixed(decimal);
}




updateTotalTea();