checkouted from http://code.google.com/p/openconcerto/