rem: message = editorShell.GetString("ValidateNumber");  message = ((message.replace(/%n%/,number)).replace(/%min%/,minValue)).replace(/%max%/,maxValue); ShowInputErrorMessage(message);  
context: function ValidateNumberString(value, minValue, maxValue){  // Get the number version (strip out non-numbers)  value = value.replace(/\D+/g, "");  number = value - 0;  if ((value+"") != "") {    if (number && number >= minValue && number <= maxValue ){      // Return string version of the number      return number + "";    }  }  message = editorShell.GetString("ValidateNumber");  // Replace variable placeholders in message with number values  message = ((message.replace(/%n%/,number)).replace(/%min%/,minValue)).replace(/%max%/,maxValue);  ShowInputErrorMessage(message);  // Return an empty string to indicate error  return "";}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0bbcf3b03721509c7074e339bdc9a9942e8b1357/EdDialogCommon.js/clean/editor/ui/dialogs/content/EdDialogCommon.js