Copyright (c) 2011, Roman RichRedistribution and use in the form of a source code or in a binary form, with or without modification, are allowed subject to the following terms: Redistributions of source code must retain the above copyright notice, these terms and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, these terms and the following disclaimer in the documentation and/or other materials provided with the distribution. Name Roman Rich must not be used to endorse or promote products derived from this software without prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN ORAL WILL ANY OF THE COPYRIGHT HOLDERS OR ANY OTHER PARTY WHO MAY MODIFY AND/OR DISTRIBUTE THE SOFTWARE UNDER ABOVE MENTIONED TERMS BE LIABLE FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY THE LICENSEE OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.