// JavaScript Document

//allow for commas:
//bIsValidCurrency = RegExp(/^\$?[0-9\,]+(\.\d{2})?$/).test(String(txtValue).replace(/^\s+|\s+$/g, ""));

//allow for negative currency values:
//bIsValidCurrency = RegExp(/^-?\$?[0-9\,]+(\.\d{2})?$/).test(String(txtValue).replace(/^\s+|\s+$/g, ""));

function isUSCurrency (sString) 
{
  //return RegExp(/^\$?[0-9\,]+(\.\d{2})?$/).test(String(sString).replace(/^\s+|\s+$/g, ""));
  return RegExp(/^-{0,1}\$?[0-9\,]+(\.\d{2})?$/).test(String(sString).replace(/^\s+|\s+$/g, ""));

}




