1Redistribution and use in source and binary forms, with or without 2modification, are permitted provided that the following conditions 3are met: 4. 51. Redistributions of source code must retain the above copyright 6notice, this list of conditions and the following disclaimer. 7. 82. The origin of this software must not be misrepresented; you must 9not claim that you wrote the original software. If you use this 10software in a product, an acknowledgment in the product 11documentation would be appreciated but is not required. 12. 133. Altered source versions must be plainly marked as such, and must 14not be misrepresented as being the original software. 15. 164. The name of the author may not be used to endorse or promote 17products derived from this software without specific prior written 18permission. 19. 20THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 21OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 24DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 26GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 28WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 29NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 30SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.