// Encode a string as ascii
function asciiEncode(value){
  // Return blank if null
  if (! value) return '';
  
  // Loop through each char in the string
  var resp;


}

// Format a Number
function formatNumber(value, decimals){
  value = value.toString();
  var re = /([\d]+)([\d]{3})/;
  while (re.test(value)){
    value = value.replace(re, '$1,$2');
  }
  return value;
}
