<!--
function calcQuote() {
	var A = document.quote.a_price.value * 1;
	var B = document.quote.b_price.value * 1;
	var C = document.quote.c_price.value * 1;
	var L = document.quote.length.value * 1;
	var Q = document.quote.quantity.value * 1;
	var CRT = document.quote.catagory.value;
	var POA = document.quote.a_number.value;
	var POB = document.quote.b_number.value;
	var POC = document.quote.c_number.value;
	var DOA = document.quote.a_name.value;
	var DOB = document.quote.b_name.value;
	var DOC = document.quote.c_name.value;
	var CP = C * L;
	var PR = A + B + CP;
	var PO = PR * Q;
	if (Q >=100) {
		document.quote.extension.value = (PO * 0.85).toFixed(2);
		document.quote.priceper.value = (PR * 0.85).toFixed(2);
	}
	if (Q >=50 && Q <=99) {
		document.quote.extension.value = (PO * 0.90).toFixed(2);
		document.quote.priceper.value = (PR * 0.90).toFixed(2);
	}
	if (Q >=25 && Q <=49) {
		document.quote.extension.value = (PO * 0.95).toFixed(2);
		document.quote.priceper.value = (PR * 0.95).toFixed(2);
	}
	if (Q >=1 && Q <=24) {
		document.quote.extension.value = (PO * 1).toFixed(2);
		document.quote.priceper.value = (PR * 1).toFixed(2);
	}
	document.getElementById('m_length').innerHTML = (L*2.54).toFixed(1);
	document.quote.cartpart.value = (CRT + "-" + POA + POC + POB + "-" + L);
	document.quote.description.value = (DOA + ", " + DOC + ", " + DOB);
}
//-->
