XML 26 R9.htm IDEA: XBRL DOCUMENT  v2.3.0.11
Inventories
6 Months Ended
Jun. 30, 2011
Inventories [Abstract]  
Inventories
3. Inventories
     The cost of inventories is determined using the last-in, first-out (LIFO) method. Costs include crude oil and other feedstocks, labor, processing costs and refining overhead costs. Inventories are valued at the lower of cost or market value.
     Inventories consist of the following:
                 
    June 30,     December 31,  
    2011     2010  
Raw materials
  $ 82,301     $ 12,885  
Work in process
    59,807       49,006  
Finished goods
    116,557       85,219  
 
           
 
  $ 258,665     $ 147,110  
 
           
     The replacement cost of these inventories, based on current market values, would have been $85,775 and $55,855 higher as of June 30, 2011 and December 31, 2010, respectively. For the three and six months ended June 30, 2011 and 2010, the Company recorded $0 and $883, respectively, of gains in cost of sales in the unaudited condensed consolidated statements of operations due to the liquidation of lower cost inventory layers.