Displaying better Error Messages for my users

I have a situtation inwhich I need my users to populate a particular global variable before opening one of my grid applications. To accomplish this task, I put the following code in the grid’s onScriptInit event:

if ([usr_CustomerID] < 1) {
sc_error_message(“You Must First Select a Customer”);
sc_error_exit();
}

Problem:

The rendered error message is covered by my drop down menu, and the user cannot see the message unless he closes the menu item. Does anyone have any ideas for having the message render either lower in the window, or displayed over the drop down menu?

Try

echo “<script>alert(‘You must select a customer first!’);</script>”;

jsb