From the Samples listed on the ArcGIS API for JavaScript page, I am attempting to combine the Legend (Maps > Legend) and Info Window Lite (Popups and Info Windows > Info Window Lite). Basically, I can't get it to work, probably due to the fact that I am a JavaScript newbie. Any help would be appreciated!