kinda like how an alert() will stop everything until the user interacts with it - i'm wanting to stop the flow of everything until another event happens. for example...

onclick="final_function(first_function('Does 1 + 5 = 6?'));"

function first_function(message) {
// some document.createElement() stuff
// buttons that will return true or false
}
function final_function(status) {
if (status) {
// true - so do something with it
} else {
// false - don't do anything
}
}