function buildIntern()
{
    global $INTERNAL, $GROUPS, $RESPONSE;
    $builder = new InternalXMLBuilder($INTERNAL[CALLER_SYSTEM_ID], $INTERNAL, $GROUPS);
    $builder->Generate();
    $RESPONSE->Internals = $builder->XMLInternal;
    $RESPONSE->Typing .= $builder->XMLTyping;
    $RESPONSE->InternalProfilePictures = $builder->XMLProfilePictures;
    $RESPONSE->InternalWebcamPictures = $builder->XMLWebcamPictures;
    $RESPONSE->Groups = $builder->XMLGroups;
    $RESPONSE->InternalVcards = $builder->XMLProfiles;
}
function buildIntern()
{
    $builder = new InternalXMLBuilder(Server::$Operators[CALLER_SYSTEM_ID]);
    $builder->Generate();
    Server::$Response->Internals = $builder->XMLInternal;
    Server::$Response->Typing .= $builder->XMLTyping;
    Server::$Response->InternalProfilePictures = $builder->XMLProfilePictures;
    Server::$Response->InternalWebcamPictures = $builder->XMLWebcamPictures;
    Server::$Response->Groups = $builder->XMLGroups;
    Server::$Response->InternalVcards = $builder->XMLProfiles;
}