function ciscoSimRadio(doc, currentBox) {
	var allCF = doc.getElementsByName('x_custom_field_value');
	var tempBox;
	var tempBoxId;
	var tempIndex;

	var currentBoxId = currentBox.id;
	tempIndex = currentBoxId.indexOf('_');
	currentBoxId = currentBoxId.substr(0,tempIndex);

	var tempChecked = currentBox.checked ? false : true;

	for (i = 0 ; i < allCF.length; i++) {
		tempBox = allCF[i];
		tempBoxId = tempBox.id;
		tempIndex = tempBoxId.indexOf('_');
		if (tempIndex > 0) {
			tempBoxId = tempBoxId.substr(0,tempIndex);
			if ((tempBoxId == currentBoxId) && (tempBox != currentBox))
				tempBox.checked = tempChecked;
		}
	}
} 

function wac_cal_sum(theForm) {
	var doc = theForm.document;
	var f1,f2,f3,f4,f5,f6,f7;
	var total = 0.00;

	f1 = doc.getElementById("CG70434").value.replace(/[\$,]/g,"");
	f2 = doc.getElementById("CG70436").value.replace(/[\$,]/g,"");
	f3 = doc.getElementById("CG70437").value.replace(/[\$,]/g,"");
	f4 = doc.getElementById("CG70438").value.replace(/[\$,]/g,"");
	f5 = doc.getElementById("CG70439").value.replace(/[\$,]/g,"");
	f6 = doc.getElementById("CG70440").value.replace(/[\$,]/g,"");
	f7 = doc.getElementById("CG70441");

	if ((f1) && (f2) && (f3) && (f4) && (f5) && (f6) && (f7) &&
		(isNaN(f1)) && (isNaN(f2)) && (isNaN(f3)) && (isNaN(f4)) && (isNaN(f5)) && (isNaN(f6))) {
		total = f1 + f2 + f3 + f4 + f5 + f6;
		f7.value = total;
	}

	f1 = doc.getElementById("CG70444").value.replace(/[\$,]/g,"");
	f2 = doc.getElementById("CG70446").value.replace(/[\$,]/g,"");
	f3 = doc.getElementById("CG70447").value.replace(/[\$,]/g,"");
	f4 = doc.getElementById("CG70448").value.replace(/[\$,]/g,"");
	f5 = doc.getElementById("CG70449").value.replace(/[\$,]/g,"");
	f6 = doc.getElementById("CG70450").value.replace(/[\$,]/g,"");
	f7 = doc.getElementById("CG70451");

	if ((f1) && (f2) && (f3) && (f4) && (f5) && (f6) && (f7) &&
		(isNaN(f1)) && (isNaN(f2)) && (isNaN(f3)) && (isNaN(f4)) && (isNaN(f5)) && (isNaN(f6))) {
		total = f1 + f2 + f3 + f4 + f5 + f6;
		f7.value = total;
	}

	f1 = doc.getElementById("CG70451").value.replace(/[\$,]/g,"");
	f2 = doc.getElementById("CG70452").value.replace(/[\$,]/g,"");
	f7 = doc.getElementById("CG70453");

	if ((f1) && (f2) &&
		(isNaN(f1)) && (isNaN(f2))) {
		total = f1 + f2;
		f7.value = total;
	}

	f1 = doc.getElementById("CG75128").value.replace(/[\$,]/g,"");
	f2 = doc.getElementById("CG75129").value.replace(/[\$,]/g,"");
	f3 = doc.getElementById("CG75130").value.replace(/[\$,]/g,"");
	f4 = doc.getElementById("CG75131").value.replace(/[\$,]/g,"");
	f5 = doc.getElementById("CG75132").value.replace(/[\$,]/g,"");
	f6 = doc.getElementById("CG75133").value.replace(/[\$,]/g,"");
	f7 = doc.getElementById("CG75135");

	if ((f1) && (f2) && (f3) && (f4) && (f5) && (f6) && (f7) &&
		(isNaN(f1)) && (isNaN(f2)) && (isNaN(f3)) && (isNaN(f4)) && (isNaN(f5)) && (isNaN(f6))) {
		total = f1 + f2 + f3 + f4 + f5 + f6;
		f7.value = total;
	}

	f1 = doc.getElementById("CG43215").value.replace(/[\$,]/g,"");
	f2 = doc.getElementById("CG43351").value.replace(/[\$,]/g,"");
	f7 = doc.getElementById("CG43352");

	if ((f1) && (f2) &&
		(isNaN(f1)) && (isNaN(f2))) {
		total = f1 + f2;
		f7.value = total;
	}
	return true;
}

