Finally I solved my problem.As you mentioned it is probably impossible to pause a javascript routine or function without execute the rest of the code in that page.So I used a different approach to obtain the same result (or, maybe, better).The code I posted was in a page I used to validate fields of a form and, also, to delete records of a database. In that case confirmation was necessary before record deletion.Now, I moved the confirmation window to the page that contains the form. Here I use the 'onclick' behavior:<a href="registration/abstrsubproc.asp?IDP=<% response.write(IDP) %> onclick="return confirm('Are you sure you want to delete this author?')"><img src="cancella.gif" width="12" height="12" border="0"></a>In this way, before the form post (and processing), it shows the confirmation window and, if you choose ok, redirects to the page that delete the specified record. Otherwise (cancel) no action will be taken.Thank you anyway._____P.S.: I hope you can understand my no so good English.