Forked from http://sourceforge.net/projects/freeais/