Trends at formation of Yugoslavia