function buildSystem()
{
    global $INTERNAL;
    require_once LIVEZILLA_PATH . "_lib/functions.internal.build.inc.php";
    $INTERNAL[CALLER_SYSTEM_ID]->GetExternalObjects();
    buildIntern();
    buildExtern();
    buildEvents();
    buildFilters();
    if (!$INTERNAL[CALLER_SYSTEM_ID]->ClientWeb) {
        buildActions();
        buildGoals();
    }
    if (!SERVERSETUP) {
        if (!LOGIN) {
            buildNewPosts();
            if (!isset($_POST[POST_GLOBAL_SHOUT])) {
                buildResources();
                if (!$INTERNAL[CALLER_SYSTEM_ID]->ClientWeb) {
                    buildRatings();
                    buildTickets();
                    buildArchive();
                    buildChatVouchers();
                } else {
                    demandTickets();
                    demandEmails();
                    demandChats();
                }
            }
        }
    }
}
function buildSystem()
{
    global $RESPONSE, $INTERNAL, $GROUPS;
    require_once LIVEZILLA_PATH . "_lib/functions.internal.build.inc.php";
    $INTERNAL[CALLER_SYSTEM_ID]->GetExternalObjects();
    buildIntern();
    buildExtern();
    buildFilters();
    buildEvents();
    buildActions();
    buildGoals();
    if (!LOGIN && !SERVERSETUP) {
        buildNewPosts();
        if (!isset($_POST[POST_GLOBAL_SHOUT])) {
            $external = $INTERNAL[CALLER_SYSTEM_ID]->IsExternal($GROUPS);
            if ($external) {
                buildRatings();
                buildMessages();
            }
            buildArchive($external);
            buildResources();
        }
    }
}
 static function Build()
 {
     require_once LIVEZILLA_PATH . "_lib/functions.internal.build.inc.php";
     Server::$Operators[CALLER_SYSTEM_ID]->GetExternalObjects();
     buildIntern();
     buildExtern();
     buildEvents();
     if (!Server::$Operators[CALLER_SYSTEM_ID]->ClientWeb) {
         buildActions();
     }
     if (!SERVERSETUP) {
         if (!LOGIN) {
             buildNewPosts();
             if (!isset($_POST[POST_GLOBAL_SHOUT])) {
                 buildResources();
                 demandFeedback();
                 demandFilters();
                 demandTickets();
                 demandEmails();
                 if (!Server::$Operators[CALLER_SYSTEM_ID]->ClientWeb) {
                     //buildTickets();
                     buildArchive();
                     buildChatVouchers();
                 } else {
                     //demandTickets();
                     //demandEmails();
                     demandChats();
                     demandReports();
                 }
             }
         }
     }
 }