The function spamalert(); (which I suspect is hard-coded) Maybe you can tell me some of the preferences and variables used here.