The following code is licensed under a BSD License license. 

(http://www.opensource.org/licenses/bsd-license.php)