| 
           Warrants (Details) (USD $) 
         | 
        3 Months Ended | 12 Months Ended | 
|---|---|---|
| 
           Mar. 31, 2013 
         | 
        
           Dec. 31, 2012 
         | 
      |
| Summary of warrant activity | ||
| Warrants, Balance at the beginning of the period (in shares) | 3,235,982 | 306,388 | 
| Weighted Average Price, Balance at the beginning of the period | 3.53 | 19.14 | 
| Granted (in shares) | 2,942,094 | |
| Weighted Average Price, Granted | $ 1.87 | |
| Exercised (in shares) | (200,000) | |
| Exercised Weighted Average Price | $ 1.50 | |
| Expired (in Shares) | (12,500) | |
| Expired Weighted Average Price | $ (6.00) | |
| Warrants, Balance at the ending of the period (in shares) | 3,035,982 | 3,235,982 | 
| Weighted Average Price, Balance at the ending of the period | 3.62 | 3.53 | 
| X | ||||||||||
| 
             
- Definition 
          Class of warrant exercised. No definition available. 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Class of warrant exercised weighted average exercise price. No definition available. 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Class of warrant expired. No definition available. 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Class of warrant expired weighted average exercise price. No definition available. 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Class of warrant granted in period. No definition available. 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Class of warrant granted in period weighted average exercise price. No definition available. 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          The exercise price of each class of warrants or rights outstanding. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Aggregate amount of each class of warrants or rights outstanding. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
        
| X | ||||||||||
| 
             
- Details 
          
  |