drawparts.js