You can look at Anyterm for a potential Javascript solution. There is also fmud if you are ready to go for a flash.
I don’t think that each of them has a way to tell the user to whom they want to connect (pre-configure them before investing), but if you do not need these functions, they both work pretty well.
source
share