function dynChecksum(dynKey) { ae = document.getElementById(dynKey + "a"); be = document.getElementById(dynKey + "b"); ce = document.getElementById(dynKey + "c"); de = document.getElementById(dynKey + "d"); ae.value = 918; be.value = 9729; ce.value = (7 * 918) + 9729; de.value = "80d7976b73c98894ef30d8de51e91036"; }