fork from http://jquerysheet.googlecode.com/svn/trunk/