Fix coding error defining a prototype function inside the constructor.
Merge pull request #1769 from AnalyticalGraphicsInc/fixInfoBoxCode

Fix coding error defining a prototype function inside the constructor.