1275970ScyCopyright (c) 2010 Serge A. Zaitsev 2275970Scy 3275970ScyPermission is hereby granted, free of charge, to any person obtaining a copy 4275970Scyof this software and associated documentation files (the "Software"), to deal 5275970Scyin the Software without restriction, including without limitation the rights 6275970Scyto use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7275970Scycopies of the Software, and to permit persons to whom the Software is 8275970Scyfurnished to do so, subject to the following conditions: 9275970Scy 10275970ScyThe above copyright notice and this permission notice shall be included in 11275970Scyall copies or substantial portions of the Software. 12275970Scy 13275970ScyTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14275970ScyIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15275970ScyFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16275970ScyAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17275970ScyLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18275970ScyOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19275970ScyTHE SOFTWARE. 20275970Scy 21