"Door" has a lot of significance is south indian temple architecture . During the height of the development during Pallava and Chola empires; Door or Gopuram begin to have more significance than the main place where "deity" resides. The same style migrated and got modified to Bali, Ankorwat etc into their own unique styles. Similarities are however striking!