rem: inputWidget.focus(); 
add: SetTextfieldFocus(inputWidget); 
context: function ValidateNumber(inputWidgetID, listWidget, minVal, maxVal, element, attName){  var inputWidget = document.getElementById(inputWidgetID);  // Global error return value  error = false;  var maxLimit = maxVal;  var isPercent = false;  var numString = inputWidget.value.trimString();  if (numString && numString != "")  {    if (listWidget)      isPercent = (listWidget.selectedIndex == 1);    if (isPercent)      maxLimit = 100;    numString = ValidateNumberString(numString, minVal, maxLimit);    if(numString == "")    {      dump("Error returned from ValidateNumberString\n");      // Switch to appropriate panel for error reporting      SwitchPanel(validatePanel);      // Error - shift to offending input widget      inputWidget.focus();      error = true;    }    else          {      if (isPercent)        numString += "%";      if (element)        element.setAttribute(attName, numString);    }  } else if (element) {    element.removeAttribute(attName);    }  return numString;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c0a534c8efb9e6703626cacd6d61cb6ad8eb6680/EdTableProps.js/buggy/editor/ui/dialogs/content/EdTableProps.js