<!-- ope calculator

// Faculty
fixed_Fa = 1275800
fixed_Fb = 28

// Classified
fixed_Ca = 1278200
fixed_Cb = 28

// Estimate 9 Month Faculty OPE Rate
function estimate09(form) {
	form.div_09.value = eval(fixed_Fa) / eval(form.sal_09.value); // fixed_Fa variable divided by salary entered in sal_09 field.
	form.add_09.value = eval(fixed_Fb) + eval(form.div_09.value); // fixed_Fb variable added to result of previous calculation to calculate OPE.
	form.ope_09.value = Math.round(form.add_09.value);            // round for appropriate % format.
	if (isNaN(form.ope_09.value)) {                               // if salary isn't entered, display alert.
	document.getElementById("ope").reset();
	alert("Please enter the appointment salary before clicking the Calculate button.");
	}
}

// Estimate 12 Month Faculty OPE Rate
function estimate12(form) {
	form.div_12.value = eval(fixed_Fa) / eval(form.sal_12.value); // fixed_Fa variable divided by salary entered in sal_12 field.
	form.add_12.value = eval(fixed_Fb) + eval(form.div_12.value); // fixed_Fb variable added to result of previous calculation to calculate OPE.
	form.ope_12.value = Math.round(form.add_12.value);            // round for appropriate % format.
	if (isNaN(form.ope_12.value)) {                               // if salary isn't entered, display alert.
	document.getElementById("ope").reset();
	alert("Please enter the appointment salary before clicking the Calculate button.");
	}
}

// Estimate Classified OPE Rate
function estimateCl(form) {
	form.div_Cl.value = eval(fixed_Ca) / eval(form.sal_Cl.value); // fixed_Ca variable divided by salary entered in sal_Cl field.
	form.add_Cl.value = eval(fixed_Cb) + eval(form.div_Cl.value); // fixed_Cb variable added to result of previous calculation to calculate OPE.
	form.ope_Cl.value = Math.round(form.add_Cl.value);            // round for appropriate % format.
	if (isNaN(form.ope_Cl.value)) {                               // if salary isn't entered, display alert.
	document.getElementById("ope").reset();
	alert("Please enter the appointment salary before clicking the Calculate button.");
	}
}
// -->