Function to construct mouseover info string