If a synagogue collects money to purchase a specific item, can the money instead be used for a different item? What may be done if there is extra money left over after the congregation has purchased the item? And when is it permissible to sell a synagogue, and when is it forbidden?