DELETE FROM s_attribute_type WHERE s_attribute_type = 'DOCUMENT';
INSERT INTO s_attribute_type (s_attribute_type, description, prompt, input_type, display_type, s_field_type, site_type) VALUES ( 'DOCUMENT', 'Document', 'Document', 'upload_or_saveurl(50, 500, "pdf,doc,txt")', 'urlpopup("{switch(extension, pdf, pdf.png, doc, winword.gif, default.gif)}", 1024, 768)', NULL, NULL)