Annual report pursuant to Section 13 and 15(d)

12. FAIR VALUE MEASUREMENTS (Details-Other derivatives)

v2.4.1.9
12. FAIR VALUE MEASUREMENTS (Details-Other derivatives) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2014
Dec. 31, 2013
Assets:    
Assets $ 1,586us-gaap_AssetsFairValueDisclosure $ 961us-gaap_AssetsFairValueDisclosure
Liabilities:    
Liabilities 3,135us-gaap_LiabilitiesFairValueDisclosure 9,074us-gaap_LiabilitiesFairValueDisclosure
Commodity contracts [Member]    
Assets:    
Assets 1,586us-gaap_AssetsFairValueDisclosure
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
961us-gaap_AssetsFairValueDisclosure
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
Liabilities:    
Liabilities 1,149us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
859us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
Warrant    
Assets:    
Assets 0us-gaap_AssetsFairValueDisclosure
/ us-gaap_FinancialInstrumentAxis
= us-gaap_WarrantMember
 
Liabilities:    
Liabilities 1,986us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FinancialInstrumentAxis
= us-gaap_WarrantMember
8,215us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FinancialInstrumentAxis
= us-gaap_WarrantMember
Level 1 [Member]    
Assets:    
Assets 1,586us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
961us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
Liabilities:    
Liabilities 1,149us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
859us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
Level 1 [Member] | Commodity contracts [Member]    
Assets:    
Assets 1,586us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
961us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
Liabilities:    
Liabilities 1,149us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
859us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
Level 1 [Member] | Warrant    
Assets:    
Assets 0us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_WarrantMember
 
Liabilities:    
Liabilities 0us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_WarrantMember
0us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel1Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_WarrantMember
Level 2 [Member]    
Assets:    
Assets 0us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
0us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
Liabilities:    
Liabilities 0us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
0us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
Level 2 [Member] | Commodity contracts [Member]    
Assets:    
Assets 0us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
0us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
Liabilities:    
Liabilities 0us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
0us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
Level 2 [Member] | Warrant    
Assets:    
Assets 0us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_WarrantMember
 
Liabilities:    
Liabilities 0us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_WarrantMember
0us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel2Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_WarrantMember
Level 3 [Member]    
Assets:    
Assets 0us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
0us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
Liabilities:    
Liabilities 1,986us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
8,215us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
Level 3 [Member] | Commodity contracts [Member]    
Assets:    
Assets 0us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
0us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
Liabilities:    
Liabilities 0us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
0us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_CommodityContractMember
Level 3 [Member] | Warrant    
Assets:    
Assets 0us-gaap_AssetsFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_WarrantMember
 
Liabilities:    
Liabilities $ 1,986us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_WarrantMember
$ 8,215us-gaap_LiabilitiesFairValueDisclosure
/ us-gaap_FairValueByFairValueHierarchyLevelAxis
= us-gaap_FairValueInputsLevel3Member
/ us-gaap_FinancialInstrumentAxis
= us-gaap_WarrantMember