Hi,
Yes the map is var map;
The infoWindow is defined:
map.infoWindow.setTitle("Identify Results");
map.infoWindow.setContent(tc.domNode);
map.infoWindow.resize(360, 200);
If there is only 1 record returned, then keep the infoWindow (360, 200).
How ever if there is more than 1 record then increase the infoWindow to fill the page.