In this situation the best option is to stay neutral and quiet and maintain good relations with all sides and support the winning side when it becomes fairly obvious who it will be.
I'm pleased that this is now clearly the policy of the country I live in - Israel.