function getErrorTxt (statusCode, button, radius, units) {
    switch (statusCode)
    {
      //No access to map
      case '200' :
         return "Client is not enabled to receive maps.  Please contact customer support.";
         break;
      //No access to search
      case '201' :
         return "Client is not enabled to receive search results.  Please contact customer support.";
         break;
      //No access to specified table
      case '202' :
         return "Client is not enabled to receive search results from specified table.  Please contact customer support.";
         break;
      //No access to route
      case '203' :
         return "Client is not enabled to receive route results.  Please contact customer support.";
         break;
      //Client ID required
      case '250' :
         return "Client ID required.";
         break;
      //Invalid Client ID
      case '251' :
         return "Invalid or Missing Client ID";
         break;
      //Client ID expired
      case '252' :
         return "Client ID expired";
         break;
      //Unauthorized
      case '253' :
         return "Unauthorized";
         break;
      //Invalid Password
      case '254' :
         return "Invalid Password";
         break;
      //Transaction Required
      case '400' :
         return "Transaction Required";
         break;
      //Server Error
      case '500' :
         return "Server Error";
         break;
      //Invalid Latitude
      case '900' :
         return "Invalid Latitude";
         break;
      //Invalid Longitude
      case '901' :
         return "Invalid Longitude";
         break;
      //Error Parsing Input Parameters
      case '902' :
         return "Error Parsing Input Parameters";
         break;
      //Invalid Param Name
      case '903' :
         return "Invalid Param Name.  Params can only contains numbers, letters, and underscores and cannot begin with a number.";
         break;
      //No Location Matches
      case '1901' :
         return "Cannot identify this location.  Please provide additional information or modify the information your entered.";
         break;
      //Invalid State Abbreviation
      case '1902' :
         return "Invalid state abbreviation.  Please enter a valid state abbreviation and click the \"" + button + "\" button.";
         break;
      //Invalid Country Code
      case '1903' :
         return "Mapping is unavailable for the country specified.";
         break;
      //Incomplete Inputs
      case '9000' :
         return "Cannot identify this location without additional information.  Please enter at least a city and state or postal code.";
         break;
      //Server Down
      case '9001' :
         return "We are unable to generate a map at this time.  Please try again shortly.";
         break;
      //No Search Results without Attribute
      case '9002' :
         return "No locations were found within " + radius + " " + units + ".  Please expand your search.";
         break;
      //No Search Results with Attribute
      case '9003' :
         return "No locations were found within " + radius + " " + units + ".  Please expand your search or modify your search criteria.";
         break;
      default :
         return "Unknown error";
         break;
    }
}