function chkForOther() {
 allNodes = document.getElementsByClassName('hideRow');

 if ($F('officeTitleId') == $F('otherId')) {
  for(i = 0; i < allNodes.length; i++) {
   allNodes[i].style.display = '';
  }
 } else {
  for(i = 0; i < allNodes.length; i++) {
   allNodes[i].style.display = 'none';
  }
 }
}

function getListParties() {
 stateName = $F('state')
 new Ajax.Updater('listParty', 'process/get.party.list.asp', {method: 'post', parameters: {stateName: stateName}});
}

