v2.4.0.8

Note 5 - Net Income (Loss) Per Share (Tables) | 6 Months Ended
--- | ---
Jul. 31, 2014
Earnings Per Share [Abstract] |
Schedule of Earnings Per Share, Basic and Diluted [Table Text Block] |
|  | Three Months Ended July 31, |  |  | Six Months Ended July 31, |
|  | 2014 |  |  | 2013 |  |  | 2014 |  |  | 2013 |
Net income (loss) |  | $ | 8,135 |  |  | $ | (794 | ) |  | $ | 6,817 |  |  | $ | (2,268 | )
Basic net income (loss) per share: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Weighted-average shares outstanding-Basic |  |  | 14,684 |  |  |  | 14,260 |  |  |  | 14,684 |  |  |  | 14,210 |
Basic net income (loss) per share |  | $ | 0.55 |  |  | $ | (0.06 | ) |  | $ | 0.46 |  |  | $ | (0.16 | )
Diluted net inome (loss) per share: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Weighted average shares outstanding - basic |  |  | 14,684 |  |  |  | 14,260 |  |  |  | 14,684 |  |  |  | 14,210 |
Effect of potentially dilutive securities |  |  | 426 |  |  |  | - |  |  |  | 448 |  |  |  | - |
Weighted average shares outstanding - diluted |  |  | 15,110 |  |  |  | 14,260 |  |  |  | 15,132 |  |  |  | 14,210 |
Diluted net income (loss) per share |  | $ | 0.54 |  |  | $ | (0.06 | ) |  | $ | 0.45 |  |  | $ | (0.16 | )

X
- Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration