Does IE6 support css-sprites?
You can also use Glue http://gluecss.com/ It's an open-source command line tool to generate sprites.