1 Copyright 2006 Dan-Haim. All rights reserved. 2 3 Redistribution and use in source and binary forms, with or without modification, 4 are permitted provided that the following conditions are met: 5 1. Redistributions of source code must retain the above copyright notice, this 6 list of conditions and the following disclaimer. 7 2. Redistributions in binary form must reproduce the above copyright notice, 8 this list of conditions and the following disclaimer in the documentation 9 and/or other materials provided with the distribution. 10 3. Neither the name of Dan Haim nor the names of his contributors may be used 11 to endorse or promote products derived from this software without specific 12 prior written permission. 13 14 THIS SOFTWARE IS PROVIDED BY DAN HAIM "AS IS" AND ANY EXPRESS OR IMPLIED 15 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 16 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 17 EVENT SHALL DAN HAIM OR HIS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 18 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 19 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA 20 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 21 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 22 OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMANGE. 23