Confirm Messege

Hi,

When click button on the ASP page i want show Confirm window Like:

var SQL = "{call RepairedAllVins(";
SQL += UseId;
SQL += ")}";

Container.AddButton(eWare.Button("Repaired complete", "ClearConflicts.gif","javascript: var sconfirm = confirm('Are you sure you want to repaired?');if(sconfirm){'" + eWare.ExecSql(SQL) + "'};" ));

The "RepairedAllVins" is Procedure.

Please advice,

Thanks