XML 46 R67.htm IDEA: XBRL DOCUMENT
v2.4.0.8

COMMON STOCK (Details) (USD $) | 12 Months Ended
--- | ---
Jan. 31, 2014 | Jan. 31, 2013 | Jan. 31, 2012
COMMON STOCK (Details) [Line Items] |  |  |
Treasury Stock, Shares, Acquired | 137,015 | 278,369 | 1,518,877
Treasury Stock, Value, Acquired, Cost Method (in Dollars) | $ 3,486,000 | $ 5,445,000 | $ 25,662,000
Stock Repurchase Program Number of Additional Shares Authorized to be Repurchased | 280,006 |  |
Employee Stock Option [Member] |  |  |
COMMON STOCK (Details) [Line Items] |  |  |
Treasury Stock, Shares, Acquired |  | 32,935 | 213,288
Treasury Stock, Value, Acquired, Cost Method (in Dollars) |  | $ 1,071,000 | $ 3,444,000

X
- Details
Name: | rex_COMMONSTOCKDetailsLineItems
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Stock repurchase program number of additional shares authorized to be repurchased. + References No definition available. + Details
Name: | rex_StockRepurchaseProgramNumberOfAdditionalSharesAuthorizedToBeRepurchased
Namespace Prefix: | rex_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares that have been repurchased during the period and are being held in treasury. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 29, 30 -Article 5 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655 + Details
Name: | us-gaap_TreasuryStockValueAcquiredCostMethod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration