Access lotus notes object
<p>Can I access the lotus notes objects with javascript without using ActiveXObject Object. Does anyone know another method? </p>

<pre><code>$('#btn').click(function SendScriptMail() {
     try {
        var Session = new ActiveXObject('Notes.NotesSession');
        var acti = new ActiveXObject("Notes.NotesUIWorkspace")
        var UserName = Session.UserName;
        alert(UserName);

        // Retrieve database from username 
        var MailDbName = UserName.substring(0, 1) 
                       + UserName.substring(UserName.indexOf(" ", 1) + UserName.length) 
                       + ".nsf"
        // Get database 
        var  Maildb = Session.GetDatabase("", MailDbName);
        acti.ComposeDocument("", "", "Memo");
     } catch (err) {
        alert(err.message);
     }
});
</code></pre>

<p>I need to access them client side, because on the server side (with c#)  i don't have registered any specified dll on it.</p>