Yuriy's answer is correct, this is intended to complement it rather than compete with it.
Your ASP code is interpreted by the server (hence "server side") while the page loads. Your Javascript is interpreted by the browser (hence "client side") after it has loaded. This means that you can't call ASP code directly with js.
Use a conditional statement to check for a form submission. In place of function deleteclient
use
<%
If Request.Form("btnSubmit") <>"" Then
...
...
End If
%>
Your form doesn't need an action attribute, as you aren't posting to a different page
NB - it's considered good practice to use lower case tag names and to quote your attributes - eg
<form name="addclient" method="post">