<!--
// disables a form element
function disable(objElem) {
  // In IE, "disabled" does everything. In Netscape, the object property is used to check the current state.
  objElem.checked = false;
  objElem.disabled = true;

  // causes the disabled elements to be "skipped over" when pressing tabs
  objElem.onfocus =  function() {
	var objNext = nextFormElem2(this);
	objNext.focus();
  }
}

// disables questions 3, 6, 7, 8, 10 and 11 using the disable function when the page loads
function startup() {
  disable(document.cwt_herd.expectedValue);
  disable(document.cwt_herd.cowSlaughterValue);
  disable(document.cwt_herd.totalSlaughterValue);
  disable(document.cwt_herd.expectedPayment);
  disable(document.cwt_herd.milkMarketingsCwt);
  disable(document.cwt_herd.prodBid);
}

window.onload = startup;
//-->