function removeSpaces(value)
{
	//remove spaces
    pattern = /\s+/gi;
    value = value.replace(pattern, "");
	return value;
}

