Can anyone tell me what kind of program is used by the Polyglot Project?
They have a program where if you click twice on a word the definition shows. I have seen similar programs in other sites, especially wiki sites. It is also used in a more involved way by LingQ. For your reference, here is the link to the Polyglot Project:
Using Fluther
or