XML 47 R62.htm IDEA: XBRL DOCUMENT
v2.4.1.9

Stockholder's Equity (Details 3) (USD $) | 12 Months Ended | 0 Months Ended | 3 Months Ended
--- | --- | --- | ---
Dec. 31, 2013 | Dec. 31, 2014 | Apr. 29, 2014 | Oct. 21, 2014 | Dec. 31, 2013 | Jul. 10, 2014 | Jun. 13, 2014 | May 21, 2014 | May 06, 2014 | Jun. 30, 2013
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 4,823,766 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights |  |  |  |  |  |  |  |
Purchase price of common stock |  | $ 3.30 us-gaap_SharePrice |  |  |  |  |  |  |  | $ 3.00 us-gaap_SharePrice
Fair Value of Common Stock Exchanged for Warrants | $ 3,069,792 resx_FairValueOfCommonStockExchangedForWarrants |  |  |  |  |  |  |  |  |
Financing transaction | Promissory note |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Principal amount of promissory note converted |  | 200,000 us-gaap_DebtConversionOriginalDebtAmount1 / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_NotesPayableOtherPayablesMember |  |  |  |  |  |  |  |
Chairman of the Board |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Shares issued to chairman in settlement of outstanding debt |  | 546,553 resx_StockIssuedDuringPeriodSharesIssuedToChairmanInConnectionWithSettlementOfOutstandingDebt / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_BoardOfDirectorsChairmanMember |  |  |  |  |  |  |  |
Chairman of the Board | Promissory note |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Shares issued to chairman in settlement of outstanding debt |  |  | 546,553 resx_StockIssuedDuringPeriodSharesIssuedToChairmanInConnectionWithSettlementOfOutstandingDebt / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_BoardOfDirectorsChairmanMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_NotesPayableOtherPayablesMember |  |  |  |  |  |  |
Chairman of the Board | Financing transaction |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Shares issued to chairman in settlement of outstanding debt |  | 546,553 resx_StockIssuedDuringPeriodSharesIssuedToChairmanInConnectionWithSettlementOfOutstandingDebt / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_BoardOfDirectorsChairmanMember |  |  |  |  |  |  |  |
Chairman of the Board | Financing transaction | Promissory note |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of convertible promissory notes converted |  | 4 resx_NumberOfConvertiblePromissoryNotesConverted / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_BoardOfDirectorsChairmanMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_NotesPayableOtherPayablesMember | 4 resx_NumberOfConvertiblePromissoryNotesConverted / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_BoardOfDirectorsChairmanMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_NotesPayableOtherPayablesMember |  |  |  |  |  |  |
Principal amount of promissory note converted |  | 1,050,000 us-gaap_DebtConversionOriginalDebtAmount1 / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_BoardOfDirectorsChairmanMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_NotesPayableOtherPayablesMember | 1,050,000 us-gaap_DebtConversionOriginalDebtAmount1 / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_BoardOfDirectorsChairmanMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_NotesPayableOtherPayablesMember |  |  |  |  |  |  |
Director | Financing transaction | Promissory note |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  |  |  | 75,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_DirectorMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_NotesPayableOtherPayablesMember |  |  |  |  |  |
Exercise price of warrants |  |  |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_DirectorMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_NotesPayableOtherPayablesMember |  |  |  |  |  |
Principal amount of promissory note converted |  |  |  | 200,000 us-gaap_DebtConversionOriginalDebtAmount1 / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_DirectorMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_NotesPayableOtherPayablesMember | 200,000 us-gaap_DebtConversionOriginalDebtAmount1 / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_DirectorMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_NotesPayableOtherPayablesMember |  |  |  |  |
Conversion of debt to common stock |  | 100,000 us-gaap_DebtConversionConvertedInstrumentSharesIssued1 / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_DirectorMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_NotesPayableOtherPayablesMember |  | 100,000 us-gaap_DebtConversionConvertedInstrumentSharesIssued1 / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_DirectorMember / us-gaap_ShortTermDebtTypeAxis = us-gaap_NotesPayableOtherPayablesMember |  |  |  |  |  |
Warrants to purchase common stock |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Risk-free interest rate | 0.35%us-gaap_FairValueAssumptionsRiskFreeInterestRate / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember |  |  |  |  |  |  |  |  |
Expected life in years | 5 years |  |  |  |  |  |  |  |  |
Expected volatility | 141.00%us-gaap_FairValueAssumptionsExpectedVolatilityRate / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember |  |  |  |  |  |  |  |  |
Warrants to purchase common stock | Investors |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Term of warrants |  | 4 years | 4 years |  |  | 4 years | 4 years | 4 years | 4 years |
Number of shares of common stock to be purchased |  | 2,668,706 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember | 832,950 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember |  |  | 15,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember | 533,625 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember | 261,693 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember | 1,025,438 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember | 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember |  |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember |
Purchase price of common stock |  |  | 4.00 us-gaap_SharePrice / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember |  |  | $ 4.00 us-gaap_SharePrice / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember | $ 4.00 us-gaap_SharePrice / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember | $ 4.00 us-gaap_SharePrice / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember | $ 4.00 us-gaap_SharePrice / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = us-gaap_InvestorMember |
Warrants to purchase common stock | Placement agent |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Term of warrants |  | 4 years |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 892,069 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_PlacementAgentMember | 277,650 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_PlacementAgentMember |  |  | 5,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_PlacementAgentMember | 177,875 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_PlacementAgentMember | 89,731 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_PlacementAgentMember | 341,813 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_PlacementAgentMember |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_PlacementAgentMember |  |  |  |  |  |  |  |
Warrants to purchase common stock | A law firm |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Term of warrants |  | 4 years |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 16,037 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_LawFirmWithOutstandingDebtDueToMember |  |  |  |  | 16,037 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_LawFirmWithOutstandingDebtDueToMember |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_LawFirmWithOutstandingDebtDueToMember |  |  |  |  |  |  |  |
Warrant expense |  | 24,393 resx_WarrantExpense / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_LawFirmWithOutstandingDebtDueToMember |  |  |  |  |  |  |  |
Warrants to purchase common stock | Independent consultant |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Term of warrants |  | 5 years |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 15,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_IndependentConsultantMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.90 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_IndependentConsultantMember |  |  |  |  |  |  |  |
Warrant expense |  | 25,976 resx_WarrantExpense / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_IndependentConsultantMember |  |  |  |  |  |  |  |
Vesting term of warrants |  | 1 year |  |  |  |  |  |  |  |
Number of warrants vested |  | 12,500 resx_ClassOfWarrantOrRightVestedNumber / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_IndependentConsultantMember |  |  |  |  |  |  |  |
Number of unvested warrants |  | 2,500 resx_ClassOfWarrantOrRightNonvestedNumber / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_IndependentConsultantMember |  |  |  |  |  |  |  |
Warrants to purchase common stock | Investor relations firm |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Term of warrants |  | 5 years |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 250,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_InvestorRelationsFirmMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 3.75 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_InvestorRelationsFirmMember |  |  |  |  |  |  |  |
Warrant expense |  | 21,566 resx_WarrantExpense / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_InvestorRelationsFirmMember |  |  |  |  |  |  |  |
Agreement term |  | 1 year |  |  |  |  |  |  |  |
Fair value of warrants outstanding |  | 517,576 us-gaap_WarrantsAndRightsOutstanding / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_InvestorRelationsFirmMember |  |  |  |  |  |  |  |
Warrants to purchase common stock | Financial advisors |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Term of warrants | 5 years |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased | 173,917 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_FinancialAdvisorsMember |  |  |  | 173,917 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_FinancialAdvisorsMember |  |  |  |  |
Exercise price of warrants | $ 3.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_FinancialAdvisorsMember |  |  |  | $ 3.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_FinancialAdvisorsMember |  |  |  |  |
Warrant expense | 462,618 resx_WarrantExpense / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_FinancialAdvisorsMember |  |  |  |  |  |  |  |  |
Number of common stock sold during the period, used to determine the fair value of the underlying common stock |  |  |  |  |  |  |  |  |  | 139,167 resx_CommonStockSoldDuringPeriodSharesDeterminingFairValueOfUnderlyingCommonStock / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_FinancialAdvisorsMember
Purchase price of common stock |  |  |  |  |  |  |  |  |  | $ 3.00 us-gaap_SharePrice / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_CounterpartyNameAxis = resx_FinancialAdvisorsMember
Warrants to purchase common stock | Chairman of the Board |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  |  | 351,060 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_BoardOfDirectorsChairmanMember |  |  |  |  |  |  |
Exercise price of warrants |  |  | 2.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_BoardOfDirectorsChairmanMember |  |  |  |  |  |  |
Warrants to purchase common stock | Chairman of the Board | Financing transaction |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Term of warrants |  | 4 years |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 351,060 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_BoardOfDirectorsChairmanMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 2.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_BoardOfDirectorsChairmanMember |  |  |  |  |  |  |  |
Warrant expense |  | 803,221 resx_WarrantExpense / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_BoardOfDirectorsChairmanMember |  |  |  |  |  |  |  |
Warrants to purchase common stock | Director |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Warrant expense |  | 107,395 resx_WarrantExpense / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_DirectorMember |  |  |  |  |  |  |  |
Warrants to purchase common stock | Director | Financing transaction |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Term of warrants |  | 4 years |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 75,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_DirectorMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_RelatedPartyTransactionAxis = resx_FinancingTransactionMember / us-gaap_RelatedPartyTransactionsByRelatedPartyAxis = us-gaap_DirectorMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 19 February 2010 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 3,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued19February2010Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 165.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued19February2010Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 24 March 2010 Member | Tranche One Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 2,500 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued24March2010Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 30.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued24March2010Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 24 March 2010 Member | Tranche Two Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 500 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued24March2010Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 165.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued24March2010Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 29 March 2010 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 2,500 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29March2010Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 165.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29March2010Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 26 May 2010 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 666 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued26May2010Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 200.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued26May2010Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 18 June 2010 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 5,834 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued18June2010Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 200.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued18June2010Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 26 July 2010 Member | Tranche One Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 20,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued26July2010Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 30.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued26July2010Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 26 July 2010 Member | Tranche Two Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 700 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued26July2010Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 100.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued26July2010Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 25 October 2010 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 473 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued25October2010Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 200.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued25October2010Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 4 November 2010 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 113 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued4November2010Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 200.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued4November2010Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 22 November 2010 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 1,656 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued22November2010Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 100.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued22November2010Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 25 November 2010 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 500 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued25November2010Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 100.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued25November2010Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 23 December 2010 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 3,750 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued23December2010Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 100.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued23December2010Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 2 February 2011 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 2,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued2February2011Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 100.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued2February2011Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 23 February 2011 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 1,500 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued23February2011Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 100.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued23February2011Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 15 March 2011 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 1,200 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued15March2011Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 100.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued15March2011Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 6 April 2011 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 2,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued6April2011Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 100.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued6April2011Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 15 April 2011 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 1,200 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued15April2011Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 100.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued15April2011Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 26 April 2011 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 2,500 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued26April2011Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 100.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued26April2011Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 29 April 2011 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 3,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29April2011Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 100.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29April2011Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 29 April 2011 Member | Placement agent | Tranche Three Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Term of warrants |  | 4 years |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 35,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29April2011Member / us-gaap_CounterpartyNameAxis = resx_PlacementAgentMember / us-gaap_ShortTermDebtTypeAxis = resx_TrancheThreeMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29April2011Member / us-gaap_CounterpartyNameAxis = resx_PlacementAgentMember / us-gaap_ShortTermDebtTypeAxis = resx_TrancheThreeMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 26 June 2011 Member | Tranche One Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 104,057 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued26June2011Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 65.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued26June2011Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 26 June 2011 Member | Tranche Two Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 52,028 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued26June2011Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 100.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued26June2011Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 01 July 2011 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 5,300 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued01July2011Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 65.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued01July2011Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 23 May 2012 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 30,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued23May2012Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 30.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued23May2012Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 01 July 2012 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 10,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued01July2012Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 75.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued01July2012Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 20 August 2012 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 90,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued20August2012Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 38.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued20August2012Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 27 March 2013 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 173,917 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued27March2013Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 3.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued27March2013Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 17 March 2014 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 15,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued17March2014Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.90 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued17March2014Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 29 April 2014 Member | Tranche One Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 832,950 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29April2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29April2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 29 April 2014 Member | Tranche Two Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 277,650 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29April2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29April2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 29 April 2014 Member | Tranche Three Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 35,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29April2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheThreeMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29April2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheThreeMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 29 April 2014 Member | Tranche Four Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 351,060 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29April2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheFourMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 2.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29April2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheFourMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 29 April 2014 Member | Placement agent | Tranche Three Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  |  | 35,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29April2014Member / us-gaap_CounterpartyNameAxis = resx_PlacementAgentMember / us-gaap_ShortTermDebtTypeAxis = resx_TrancheThreeMember |  |  |  |  |  |  |
Exercise price of warrants |  |  | 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued29April2014Member / us-gaap_CounterpartyNameAxis = resx_PlacementAgentMember / us-gaap_ShortTermDebtTypeAxis = resx_TrancheThreeMember |  |  |  |  |  |  |
Common Stock Warrants Issued 06 May 2014 Member | Tranche One Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 1,025,438 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued06May2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued06May2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 06 May 2014 Member | Tranche Two Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 341,813 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued06May2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued06May2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 21 May 2014 Member | Tranche One Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 261,693 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued21May2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued21May2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 21 May 2014 Member | Tranche Two Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 89,731 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued21May2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued21May2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 13 June 2014 Member | Tranche One Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 533,625 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued13June2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued13June2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 13 June 2014 Member | Tranche Two Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 177,875 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued13June2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued13June2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 13 June 2014 Member | Tranche Three Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 16,037 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued13June2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheThreeMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued13June2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheThreeMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 10 July 2014 Member | Tranche One Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 15,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued10July2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued10July2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheOneMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 10 July 2014 Member | Tranche Two Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 5,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued10July2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued10July2014Member / us-gaap_ShortTermDebtTypeAxis = resx_TrancheTwoMember |  |  |  |  |  |  |  |
Common Stock Warrants Issued 21 October 2014 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 75,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued21October2014Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 4.80 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued21October2014Member |  |  |  |  |  |  |  |
Common Stock Warrants Issued 08 December 2014 Member |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of shares of common stock to be purchased |  | 250,000 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued08December2014Member |  |  |  |  |  |  |  |
Exercise price of warrants |  | $ 3.75 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsIssued08December2014Member |  |  |  |  |  |  |  |
Series E warrants |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Number of common stock sold during the period, used to determine the fair value of the underlying common stock |  |  |  |  |  |  |  |  |  | 139,167 resx_CommonStockSoldDuringPeriodSharesDeterminingFairValueOfUnderlyingCommonStock / us-gaap_ClassOfWarrantOrRightAxis = resx_SeriesEPreferredStockWarrantsMember
Purchase price of common stock |  |  |  |  |  |  |  |  |  | $ 3.00 us-gaap_SharePrice / us-gaap_ClassOfWarrantOrRightAxis = resx_SeriesEPreferredStockWarrantsMember
Stock Issued During Period Shares Exchange of Warrants | 1,023,264 resx_StockIssuedDuringPeriodSharesExchangeOfWarrants / us-gaap_ClassOfWarrantOrRightAxis = resx_SeriesEPreferredStockWarrantsMember |  |  |  |  |  |  |  |  | 1,023,264 resx_StockIssuedDuringPeriodSharesExchangeOfWarrants / us-gaap_ClassOfWarrantOrRightAxis = resx_SeriesEPreferredStockWarrantsMember
Fair Value of Common Stock Exchanged for Warrants | $ 3,069,792 resx_FairValueOfCommonStockExchangedForWarrants / us-gaap_ClassOfWarrantOrRightAxis = resx_SeriesEPreferredStockWarrantsMember |  |  |  |  |  |  |  |  | $ 3,069,792 resx_FairValueOfCommonStockExchangedForWarrants / us-gaap_ClassOfWarrantOrRightAxis = resx_SeriesEPreferredStockWarrantsMember
Minimum | Warrants to purchase common stock |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Risk-free interest rate |  | 1.11%us-gaap_FairValueAssumptionsRiskFreeInterestRate / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_RangeAxis = us-gaap_MinimumMember |  |  |  |  |  |  |  |
Expected life in years |  | 4 years |  |  |  |  |  |  |  |
Expected volatility |  | 64.00%us-gaap_FairValueAssumptionsExpectedVolatilityRate / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_RangeAxis = us-gaap_MinimumMember |  |  |  |  |  |  |  |
Maximum | Warrants to purchase common stock |  |  |  |  |  |  |  |  |  |
Class of Warrant or Right [Line Items] |  |  |  |  |  |  |  |  |  |
Risk-free interest rate |  | 1.67%us-gaap_FairValueAssumptionsRiskFreeInterestRate / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_RangeAxis = us-gaap_MaximumMember |  |  |  |  |  |  |  |
Expected life in years |  | 5 years |  |  |  |  |  |  |  |
Expected volatility |  | 66.00%us-gaap_FairValueAssumptionsExpectedVolatilityRate / us-gaap_ClassOfWarrantOrRightAxis = resx_CommonStockWarrantsMember / us-gaap_RangeAxis = us-gaap_MaximumMember |  |  |  |  |  |  |  |

X
- Definition The number of warrants or rights that had not yet vested as of the end of the reporting period. + References No definition available. + Details
Name: | resx_ClassOfWarrantOrRightNonvestedNumber
Namespace Prefix: | resx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents the term of the warrants, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | resx_ClassOfWarrantOrRightTerm
Namespace Prefix: | resx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of warrants or rights that vested during the period. + References No definition available. + Details
Name: | resx_ClassOfWarrantOrRightVestedNumber
Namespace Prefix: | resx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period over which a warrant or right vests, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | resx_ClassOfWarrantOrRightVestingPeriod
Namespace Prefix: | resx_
Data Type: | us-types:durationStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of common stock sold during the period, which was used to determine the fair value of the underlying common stock. + References No definition available. + Details
Name: | resx_CommonStockSoldDuringPeriodSharesDeterminingFairValueOfUnderlyingCommonStock
Namespace Prefix: | resx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the gain (loss) recognized in income statement due to the changes in the fair value of common stock exchanged for warrants. + References No definition available. + Details
Name: | resx_FairValueOfCommonStockExchangedForWarrants
Namespace Prefix: | resx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Represents the number of convertible promissory notes converted during the period. + References No definition available. + Details
Name: | resx_NumberOfConvertiblePromissoryNotesConverted
Namespace Prefix: | resx_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares issued during the period as a result of the exchange of warrants. + References No definition available. + Details
Name: | resx_StockIssuedDuringPeriodSharesExchangeOfWarrants
Namespace Prefix: | resx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the number of shares issued to Chairman in connection with the settlement of outstanding debt. + References No definition available. + Details
Name: | resx_StockIssuedDuringPeriodSharesIssuedToChairmanInConnectionWithSettlementOfOutstandingDebt
Namespace Prefix: | resx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of agreement with counterparty, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | resx_TermOfAgreementWithCounterparty
Namespace Prefix: | resx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Expenses recognized resulting from issuance of warrants. + References No definition available. + Details
Name: | resx_WarrantExpense
Namespace Prefix: | resx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(4)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(2)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph i -Subparagraph 2 -Article 4 + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares issued in exchange for the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or payments in the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586 + Details
Name: | us-gaap_DebtConversionConvertedInstrumentSharesIssued1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586 + Details
Name: | us-gaap_DebtConversionOriginalDebtAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Period the instrument, asset or liability is expected to be outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=36462937&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueAssumptionsExpectedTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Measure of dispersion, in percentage terms (for instance, the standard deviation or variance), for a given stock price. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=36462937&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueAssumptionsExpectedVolatilityRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Risk-free interest rate assumption used in valuing an instrument. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=36462937&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueAssumptionsRiskFreeInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Price of a single share of a number of saleable stocks of a company. + References No definition available. + Details
Name: | us-gaap_SharePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Value of outstanding derivative securities that permit the holder the right to purchase securities (usually equity) from the issuer at a specified price. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph i -Article 4 + Details
Name: | us-gaap_WarrantsAndRightsOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued01July2011Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued01July2012Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued06May2014Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued08December2014Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued10July2014Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued13June2014Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued15April2011Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued15March2011Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued17March2014Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued18June2010Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued19February2010Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued20August2012Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued21May2014Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued21October2014Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued22November2010Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued23December2010Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued23February2011Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued23May2012Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued24March2010Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued25November2010Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued25October2010Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued26April2011Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued26July2010Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued26June2011Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued26May2010Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued27March2013Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued29April2011Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued29April2014Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued29March2010Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued2February2011Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued4November2010Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsIssued6April2011Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_CommonStockWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=resx_SeriesEPreferredStockWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=resx_FinancingTransactionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_BoardOfDirectorsChairmanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_DirectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |