-{% block forejs %}\r
- <script type="text/javascript">\r
- var tags = {{ tags_autocomplete|safe }};\r
- $().ready(function(){\r
- var tab_id = "{{ tab_id }}";\r
- $("#"+tab_id).attr('className',"on");\r
- var on_tab = {% if is_unanswered %}'#nav_unanswered'{% else %}'#nav_questions'{% endif %};\r
- $(on_tab).attr('className','on');\r
- Hilite.exact = false;\r
- Hilite.elementid = "listA";\r
- Hilite.debug_referrer = location.href;\r
- });\r
- </script>\r
-{% endblock %}\r