187866Ssheldonh Copyright (c) 2000, 2001 Boris Popov 287866Ssheldonh All rights reserved. 387866Ssheldonh 487866Ssheldonh Redistribution and use in source and binary forms, with or without 587866Ssheldonh modification, are permitted provided that the following conditions 687866Ssheldonh are met: 787866Ssheldonh 1. Redistributions of source code must retain the above copyright 887866Ssheldonh notice, this list of conditions and the following disclaimer. 987866Ssheldonh 2. Redistributions in binary form must reproduce the above copyright 1087866Ssheldonh notice, this list of conditions and the following disclaimer in the 1187866Ssheldonh documentation and/or other materials provided with the distribution. 1287866Ssheldonh 3. All advertising materials mentioning features or use of this software 1387866Ssheldonh must display the following acknowledgement: 1487866Ssheldonh This product includes software developed by Boris Popov. 1587866Ssheldonh 4. Neither the name of the author nor the names of any co-contributors 1687866Ssheldonh may be used to endorse or promote products derived from this software 1787866Ssheldonh without specific prior written permission. 1887866Ssheldonh 1987866Ssheldonh THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2087866Ssheldonh ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2187866Ssheldonh IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2287866Ssheldonh ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2387866Ssheldonh FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2487866Ssheldonh DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2587866Ssheldonh OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2687866Ssheldonh HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2787866Ssheldonh LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2887866Ssheldonh OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2987866Ssheldonh SUCH DAMAGE. 30