static function process()
 {
     $loginModel = Session_Controller::getLoginContext();
     $client = new Vtiger_WSClient($loginModel->getURL());
     $login = $client->doLogin($loginModel->getUsername(), $loginModel->getAccessKey());
     if ($login) {
         echo "<div class='alert alert-info'>Many of these queries are specific to the coreBOS application they were created for and will fail on your install. You should just need to tweek the IDs and conditions to get them working.</div>";
         foreach (QueryExamples_Controller::$queries as $query) {
             echo '<b>' . $query . '</b><br>';
             $result = $client->doQuery($query);
             QueryExamples_Controller::showresult($result);
         }
     } else {
         echo "<div class='alert alert-danger'><strong>ERROR:</strong> Login failure!</div>";
     }
 }
            Header_Controller::process($_REQUEST);
            include_once 'controllers/TestCodeJS.php';
            TestCodeJS_Controller::process($_REQUEST);
            Footer_Controller::process($_REQUEST);
            break;
        case 'execCode':
            include_once 'controllers/TestCode.php';
            TestCode_Controller::doExecCode();
            break;
        case 'execCodeDirect':
            include_once 'controllers/TestCode.php';
            TestCode_Controller::doExecCodeDirect($_REQUEST['script']);
            break;
        case 'queryExamples':
            Header_Controller::process($_REQUEST);
            include_once 'controllers/queryExamples.php';
            QueryExamples_Controller::process();
            Footer_Controller::process($_REQUEST);
            break;
        case 'VQL':
        default:
            Header_Controller::process($_REQUEST);
            include_once 'controllers/Query.php';
            Query_Controller::process($_REQUEST);
            Footer_Controller::process($_REQUEST);
            break;
    }
} else {
    include_once 'controllers/Login.php';
    Login_Controller::process($_REQUEST);
}