1 var limit = document.getElementById('limit');
2 var span = document.getElementById('span_limit');
3 var limited_no = document.getElementById('limited_no');
4 var limited_yes = document.getElementById('limited_yes');
8 function focusLimitedNo () {
9 if ((limit.value > 0) && (limit.value != '-')) {
10 old_limit = limit.value;
14 limit.disabled = true;
15 limit.setAttribute('class', 'disabled');
20 function focusLimitedYes () {
21 limit.disabled = false;
22 limit.setAttribute('class', 'form_field');
23 limit.style.textAlign = 'left';
25 limit.value = old_limit;
33 function changeLimited () {
34 if ((limit.value == '') || (limit.value == 0)) {
40 function focusLimit () {
44 if (limit.value == '-') {
50 function blurLimit () {
51 if ((limit.value == '') || (limit.value == 0)) {
57 function submitForm () {
58 if (limit.value == '-') {
64 function resetForm () {