If you mean commands like open and send which ajax uses, here is some code I have taken straight from one of my unreleased projects... so it will need to some modifications for your needs.
code:
var ajax = new ActiveXObject("Microsoft.XMLHTTP");
ajax.open("POST", "http://127.0.0.1/testing-release/post.php", true);
ajax.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
encodeduser = encodeURIComponent(ReadRegistry("user"));
encodedpassword = encodeURIComponent(ReadRegistry("md5"));
ajax.send("title="+title+"&artist="+artist+"&user="+encodeduser+"&password="+encodedpassword);
Good Luck
,
David