Copyright (C) 2006-2009 Stig Venaas See the LICENSE file for licensing terms.