When you load the 2imply.js into your browser, a object name "app" will be created that do all the communication with your sentral application or other methods that is done on the current browser object.

exit None Stoppes the program and exits
sendmessageto None Send a message to other browser. Ex. app.sendmessageto("main",{'title' : 'Hello there'});
setcustomhandler None Set a custom handler that has the form function myhandler(e){} Ex. app.setcustomhandler(myhandler);

The metods list that can be called with app.methodname(params);