Hi MartBleck,
Is nothing about the support-image-button.js.aspx. the department dropdown control is in the SupportClient.aspx, so you only need to change the code of this file. For example, if you want to show the department depends on the current user name, then you need to get the current user name in file SupportClient.aspx directly. not send by the querystring.
Regards,
Ken