function verifyDrawer() { var bContinue = false; bContinue = confirm('Are you sure you want to process this transaction? Make sure that you have entered the correct data.\n\nClick Cancel if you do not wish to do this. Otherwise, click OK to continue.'); if (bContinue) { submitFormForAction('Process Drawer'); } }