//fixCommDollSpacPercSign
function removeCommDollSpacPerc(strValue)
{
	//remove $, commas, spaces and % signs
  var objRegExp = /,|\$|\s|%/g; //search for $, commas, spaces and % sign globally
  //replace all matches with empty strings
  return strValue.replace(objRegExp,'');
}
function fixCommDollSpacPercSign(field)
{
field.value = removeCommDollSpacPerc(field.value)
}
function fixCommDollSpacPercSignAll()
{
	// find all INPUT txt boxes; for each, remove '$' and ','; for each, if there is onkeyup event, execute it
	var eleObjArr=document.getElementsByTagName("input");
	
	var excludeField = ""//document.getElementById("txtOtherFundName")
	
	for(var i = 0; i < eleObjArr.length; i++)
	{
		if(eleObjArr[i] != excludeField)
		{
			fixCommDollSpacPercSign(eleObjArr[i])
			if(eleObjArr[i].getAttribute("onkeyup") != null)
				eleObjArr[i].onkeyup()
		}
	}
}

