select element function
change element selection
open infowindow