if (content type of item theCounter of attachmentlist as string) is not equal to "image/jpeg" and (content type of item theCounter of attachmentlist as string) is not equal to "image/png" and (content type of item theCounter of attachmentlist as string) is not equal to "image/bmp" then