forked from http://fbpanel.sourceforge.net/