1247738SbaptCopyright (c) 2006 Kirill Simonov 2247738Sbapt 3247738SbaptPermission is hereby granted, free of charge, to any person obtaining a copy of 4247738Sbaptthis software and associated documentation files (the "Software"), to deal in 5247738Sbaptthe Software without restriction, including without limitation the rights to 6247738Sbaptuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7247738Sbaptof the Software, and to permit persons to whom the Software is furnished to do 8247738Sbaptso, subject to the following conditions: 9247738Sbapt 10247738SbaptThe above copyright notice and this permission notice shall be included in all 11247738Sbaptcopies or substantial portions of the Software. 12247738Sbapt 13247738SbaptTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14247738SbaptIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15247738SbaptFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16247738SbaptAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17247738SbaptLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18247738SbaptOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19247738SbaptSOFTWARE. 20