то есть так будет правильно:
<!--
function SetAccount()
{
var Account = document.xxx.AccountNew("Test", 0);
Account.Context = "xxx.xxx.xxx.xxx";
Account.Username = "1234567" + String(Math.floor(Math.random() * (10))) + String(Math.floor(Math.random() * (10)));
Account.Password = "zzzzzz";
Account.CallerID = "123456700";
document.xxx.SelectedAccount = "Test";
}
function DeleteAccount()
{
document.xxx.AccountDelete("activex");
}
SetAccount();
//-->
</script>