v2.4.0.8
4. Earnings Per Share (Details-EPS calculation) (USD $)
In Thousands, except Share data, unless otherwise specified
3 Months Ended 6 Months Ended
Jun. 30, 2014
Jun. 30, 2013
Jun. 30, 2014
Jun. 30, 2013
Earnings Per Share [Abstract]        
Net income (loss) $ 1,919 $ (282) $ 2,004 $ (1,276)
Basic 14,785,437 270,912 13,794,384 267,711
Effective of dilutive options and warrants 856,000 0 826,000 0
Diluted 15,641,694 270,912 14,620,570 267,711
Net income (loss) per share        
Basic $ 0.13 $ (1.04) $ 0.15 $ (4.77)
Diluted $ 0.12 $ (1.04) $ 0.14 $ (4.77)