THE INVARIANCE PRINCIPLE FOR DEPENDENT RANDOM VARIABLES