<pre>on areYouSure action,danger  if danger is not empty then put danger  answer "Are you sure you want to " & action & "?" with "Cancel" or "Yes"  hide msg  if it is "Cancel" then exit to hypercardend areYouSure</pre>