function msgopen(pages,w,h) { msgWindow=window.open(pages,'DisplayWindow','width=' + w + ',height=' + h +',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no'); } function msgvoid() { } function OnFormLoad(thisForm) { } function AddNumber(nofield,textfield) { var T = 0; T = nofield.value - 0; nofield.value = T + 1; textfield.value = ""; textfield.readOnly = false; } function GetList(SubTle, SubNo, SubCount) { var i = 0; for (k = 0;k < SubCount; k++) { SubTle.value=(k+1); } } function LmOver(elem, clr) {elem.style.backgroundColor = clr; elem.children.tags('A')[0].style.color = "#FFFF00"; elem.style.cursor = 'hand'} function LmOut(elem, clr) {elem.style.backgroundColor = clr; elem.children.tags('A')[0].style.color = "#000000";} function LmDown(elem, clr) {elem.style.backgroundColor = clr; elem.children.tags('A')[0].style.color = "#000000";} function LmUp(path) {location.href = path;} function GetSum(Tn,Fn) { var tn = Tn.value var fn = Fn.value if (IsNumber(tn)) { if (tn.length == 0) { tn = 0; }else { tn = tn - 0 } } if (IsNumber(fn)) { if (fn.length == 0) { fn = 0; }else { fn = fn - 0 } tn = tn + fn } alert(tn); Tn.value = tn } function IsNumber(contents) { if (((contents / contents) != 1) && (contents != 0)) { alert('Please enter only a number into this text box') return false; } return ture; }