Well, I've managed to do it a long time ago
code:
function callback(Browser){
function Browser::DocumentComplete()
{
Browser.Document.getElementById("your_picture_id").onclick = new Function("MsgPlus.DisplayToast('', ';o');" )
}
}
var Wnd = MsgPlus.CreateWnd("windows.xml", "browserwnd");
var MyBrowser = Wnd.Browser_GetInterface("MyBrowserControl");
callback(MyBrowser);
MyBrowser.navigate("c:\\test.html"); // just for testing
just don't look at Google, have a look at MSDN