The magnetic variable star HD 10783