Here's some server side code that outputs javascript that will do the trick:
myDeleteButton.Attributes.Add("onclick", _
"return confirm('Are you sure you want to delete?');")
Or if you insist on VBScript you could use the Msgbox Function.
If the return value is vbOK (1) then document.Form1.submit()