{%- comment -%}
  BHG Rand Realty - Mortgage  8f637c703ec45ac5dec70ee9517155aa0d9775c2
  Howard Hanna | Rand Realty 	613932dbeb1595c00b78de8d1860a3bfdb479b22
  Howard Hanna Rand Realty	176629fa82da1d03f3d58c81e751e61b9836a46d
  Howard Hanna Rand Realty Admins	91ee3a2db2f3f8b71a9d6a2d664781c8ed10e5cb
  Howard Hanna Rand Realty Management	e9d26fef9adb61c4b523a273aba18c35d40b7a94
  Rand Commercial - New City	a468fb6f64f5af9757d7f60891d2240c7ea43c1e
  RAND - Jersey City Journal Square	9a70c58d13cabfc6a1b3bf63f14caaaf097fc43e
  Rand Social Media Boot Camp 2022	32ada17825448e171287f0c7625e2ad1ed051b0f
{%- endcomment -%}


{% assign rand_realty_groups = "8f637c703ec45ac5dec70ee9517155aa0d9775c2,613932dbeb1595c00b78de8d1860a3bfdb479b22,176629fa82da1d03f3d58c81e751e61b9836a46d,91ee3a2db2f3f8b71a9d6a2d664781c8ed10e5cb,e9d26fef9adb61c4b523a273aba18c35d40b7a94,a468fb6f64f5af9757d7f60891d2240c7ea43c1e,9a70c58d13cabfc6a1b3bf63f14caaaf097fc43e,32ada17825448e171287f0c7625e2ad1ed051b0f" | split:","%}
{% assign isAllenTate = false %}
{% assign isHowardHanna = false %}
{% assign isRandRealty = false %}
{% for group in current_person.groups %}
  {% if group.enrollment_code == "1817d8c96780f13abbf0f2023e3b26b3bd43d248" %}
    {% assign isAllenTate = true %}
  {% elsif group.enrollment_code == "ccd2aa2f1e41ebbac8fa878f806e3ccc20ae3f38" or
          group.enrollment_code == "aa6fe8d22ec1e75d2e8c54c6d5452dcd585e415d" %}
    {% assign isHowardHanna = true %}
  {% elsif rand_realty_groups contains group.enrollment_code %}
    {% assign isRandRealty = true %}
  {% endif %}
{% endfor %}


{% for group in current_person.groups %}
  {% if isHowardHanna %}
    {% include "header_hh" %}
  {% elsif isAllenTate %}
    {% include "header_at" %}
  {% elsif isRandRealty %}
    {% include "header_rand" %}
  {% endif %}
{% endfor %}
