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