<!-- 
    Plugin: Hide Student Contacts
    Note: Hides Contacts tab
-->
<script>
$j(function() {

    contactsTab = $j(".tabs a[href^='/admin/contacts/search.html'").closest("li");

    // hide contacts unless enabled for the user's group
    ~[if#1.~[displaypref:hidecontacts_enablebygroup]=1]
    ~[if#2.~(studentscreenaccess;contacts.html)#1]
    contactsTab.hide();
    [/if#2]
    [else#1]
    contactsTab.hide();
    [/if#1]
    
});
</script>