Electrically switchable window using a suspension of TiOxNy particles