title: error Unable to get property 'display' of undefined or null reference
body: <pre><code>&lt;script language="javascript"&gt;
  
      function dropOrderDropDown() {
          var currentInThisElement = document.activeElement.id
          var currentInThisElementArray = currentInThisElement.split('_')
          var foundOneToDrop = false;
          var haveOneCurrentSelected = false;
          var dropDownTempArray = new Array();
          if ((dropDownDivValuesString != "") || (dropDownDivValuesString != null)){
              dropDownTempArray = dropDownDivValuesString.split(',');
              for (i=0; i &lt; dropDownTempArray.length - 1; i++){
                  if (acdf != dropDownTempArray[i]){
                      if (document.all[dropDownTempArray[i] + "_hideThisControl"] != null){
                          if (document.all[dropDownTempArray[i] + "_hideThisControl"].style.display != "none"){
                              if (document.all[dropDownTempArray[i] + "_dropdown"] != null){
                                  if (document.all[dropDownTempArray[i] + "_dropdown"].style.display == "block"){
                                      document.all[dropDownTempArray[i] + '_txtValue'].click();
                                  }
                              }
                          }
                      }
                  }
              }
          }
          acdf = "";  
          return true;
  &lt;/script&gt;
  </code></pre>