Function: parseCssNumber

Parses the given CSS numeric value adding handling for the values thin, medium and thick (2, 4 and 6).