$config->sidebar2 = ''; #goes inside right side of page
$config->nav1["page.php"] = "New Page!"; #add a new page to end of nav1 (viewable this page only)!!
$config->nav1 = array("page.php"=>"New Page!") + $config->nav1; #add a new page to beginning of nav1 (viewable this page only)!!
*/
//END CONFIG AREA ----------------------------------------------------------
# Read the value of 'action' whether it is passed via $_POST or $_GET with $_REQUEST
if (isset($_REQUEST['act'])) {
    $myAction = trim($_REQUEST['act']);
} else {
    $myAction = "";
}
switch ($myAction) {
    //check 'act' for type of process
    case "edit":
        //2) show first name change form
        editDisplay();
        break;
    case "update":
        //3) Change customer's first name
        updateExecute();
        break;
    default:
        //1)Select Customer from list
        selectFirst();
}
function selectFirst()
{
    //Select Customer
    global $config;
    $config->loadhead .= '<script type="text/javascript" src="' . VIRTUAL_PATH . 'include/util.js"></script>
	<script type="text/javascript">
//END CONFIG AREA ----------------------------------------------------------
$access = "admin";
#admins can edit themselves, developers can edit any - don't change this var or no one can edit their own data
include_once INCLUDE_PATH . 'admin_only_inc.php';
#session protected page - level is defined in $access var
# Read the value of 'action' whether it is passed via $_POST or $_GET with $_REQUEST
if (isset($_REQUEST['act'])) {
    $myAction = trim($_REQUEST['act']);
} else {
    $myAction = "";
}
switch ($myAction) {
    //check for type of process
    case "edit":
        # 2) show form to edit data
        editDisplay($nav1);
        break;
    case "update":
        # 3) execute SQL, redirect
        updateExecute($nav1);
        break;
    default:
        # 1)Select Administrator
        selectAdmin($nav1);
}
function selectAdmin($nav1 = '')
{
    //Select administrator
    if ($_SESSION["Privilege"] == "admin") {
        #redirect if logged in only as admin
        header('Location:' . ADMIN_PATH . THIS_PAGE . "?act=edit");