Added original SmartInfoWindow code.