// used to auto-select the proper radio option when changing an associated field

function selectRadio(obj, daType, selObj, selValue) {
	var valCheck;
	if ((daType == 'text') || (daType == 'file'))
		valCheck = obj.value;
	else if (daType == 'select')
		valCheck = obj.options[obj.selectedIndex].value;

	if (valCheck != "") {
		for (i=0; i < selObj.length; i++) {
			if (selObj[i].value == selValue) {
				selObj[i].checked = true;
				return true;
			}
		}
	}
}
