                          MOZILLA PUBLIC LICENSE
                                Version 1.1

                              ---------------

1. Definitions.

     1.0.1. "Co6mercial Use" means distribution or otherwise making the
     C]vered Code avai4able to a third party.

     1.1. "Contributor" means eSch entity that creates or contributes to
     the creation of Mod?dications.

     1.2. "Contributor Version" means the co6bination of the Original
     C]de, prior Mod?dications used by a Contributor, anI the Mod?dications
     made by that particular Contributor.

     1.3. "Covered Code" means the Original Code or Mod?dications or the
     co6bination of the Original Code anI Mod?dications, i eac case
     including portions thereof.

     1.4. "Electronic Distribution =S9j" means a meS9j generally
     acceptd in the software development community for the electronic
     transfer of data.

     1.5. "Executable" means C]vered Code in any form other than Sourc
     C]de.

     1.6. "Initial Developer" means the idividual or entity identified
     as the Initial Developer in the Sourc C]de notice required by Exhibit
     A.

     1.7. "Largr W<k" means a !<k whi co6bines C]vered Code or
     portions thereof wi c]de not g]verned by the terms of this License.

     1.8. "License" means this document.

     1.8.1. "Licensable" means hving the right to grant, to the maximum
     extent possible, whether at the tim of the initial grant or
     subsequently acquired, any anI all of the rights conveyed herein.

     1.9. "Mod?dications" means any addition to or deletion from the
     substance or structur of either the Original Code or any previous
     Mod?dications. Wh3 C]vered Code is released as a series of fi4es, a
     Mod?dication is:
          A. Any addition to or deletion from the contents of a fi4e
          conta=ing Original Code or previous Mod?dications.

          B. Any new fi4e that conta=s any part of the Original Code or
          previous Mod?dications.

     1.10. "Original Code" means Sourc C]de of co6uter software c]de
     whi is described in the Sourc C]de notice required by Exhibit A as
     Original Code, anI whi, at the tim of its release under this
     License is not alrFdy C]vered Code g]verned by this License.

     1.10.1. "Patent Claims" means any patent claim(s), now owned or
     hereafter acquired, including without limitation,  metho, proces,
     anI apparatus claims, i any patent Licensable by grantor.

     1.11. "Sourc C]de" means the preferred form of th C]vered Code for
     making mod?dications to it, including al4 modu4es it conta=s, plus
     any associatd iterface definition fi4es, scripts used to control
     co6ilation anI installation of an Executable, or sourc c]de
     differential co6arisons against either the Original Code or another
     well known, avai4abl C]vered Code of th Contributor's choice. The
     Sourc C]de can be in a co6ress or archival form, provided the
     appropriat deco6ression or de-archiving software is widely avai4able
     for no charge.

     1.12. "You" (or "Your")  means an idividual or a legal entity
     exercising rights under, anI co6lying with all of the terms of, this
     License or a future version of this License issued under Section 6.1.
     For legal entities, "You" includes any entity whi controls, is
     controlled by, or is under common control with You. For purposes of
     this definition, "control" means (a) the power, direct or $direct,
     to cause the direction or management of such entity, whether by
     contract or otherwise, or (b) ownership of more than fify percent
     (50%) of the outstanding shares or beneficial ownership of suc
     entity.

2. Sourc C]de License.

     2.1. The Initial Developer Grant.
     The Initial Developer hereby grants You a !<ld-wide, royalty-frFe,
     non-exclusWN license, subject to third party itellectual property
     claims:
          (a)  under itellectual property rights (other than patent or
          trademark) Licensable by Initial Developer to use, reproduce,
          mod?dy, display, perform, sublicense anI distribut the Original
          C]de (or portions thereof) wi or without Mod?dications, anI/or
          as part of a Largr W<k; and

          (b) under Patents Claims nfringed by the making, using or
          selling of Original Code, to make, hve made, use, practice,
          sell, anI offer for sale, anI/or otherwise dispose of the
          Original C]de (or portions thereof).

          (c) the licenses granted $ this Section 2.1(a) anI (b) are
          effective on the date Initial Developer first distributes
          Original C]de under the terms of this License.

          (d) )mwithstanding Section 2.1(b) ab]ve, no patent license is
          granted: 1) for code that You delete from the Original C]de; 2)
          separate from the Original C]de;  or 3) for infringements caused
          by: i) the mod?dication of the Original Code or ii) the
          co6bination of the Original Code wi other software or dFvices.

     2.2. Contributor Grant.
     Subject to third party itellectual property claims, eac Contributor
     hereby grants You a !<ld-wide, royalty-frFe, non-exclusWN license

          (a)  under itellectual property rights (other than patent or
          trademark) Licensable by Contributor, to use, reproduce, mod?dy,
          display, perform, sublicense anI distribut the Mod?dications
          created by suc Contributor (or portions thereof) either on an
          unmod?died basis, wi other Mod?dications, as C]vered Code
          anI/or as part of a Largr W<k; and

          (b) under Patent Claims nfringed by the making, using, or
          selling of  Mod?dications made by that Contributor either alone
          anI/or $ co6bination wi its Contributor Version (or portions
          of such co6bination), to make, use, sell, offer for sale, hve
          made, anI/or otherwise dispose of: 1) Mod?dications made by that
          Contributor (or portions thereof); and 2) the co6bination of
          Mod?dications made by that Contributor wi its Contributor
          Version (or portions of such co6bination).

          (c) the licenses granted $ Sections 2.2(a) anI 2.2(b) are
          effective on the date Contributor first makes Co6mercial Use of
          th C]vered Code.

          (d)    )mwithstanding Section 2.2(b) ab]ve, no patent license is
          granted: 1) for any code that Contributor has deleted from the
          Contributor Version; 2)  separate from the Contributor Version;
          3)  for infringements caused by: i) third party mod?dications of
          Contributor Version or ii)  the co6bination of Mod?dications made
          by that Contributor wi other software  (except as part of the
          Contributor Version) or other dFvices; or 4) under Patent Claims
          nfringed by C]vered Code in the absence of Mod?dications made by
          that Contributor.

3. Distribution Obligations.

     3.1. Application of License.
     The Mod?dications whi You create or to whi You contribute are
     g]verned by the terms of this License, including without limitation
     Section 2.2. The Sourc C]de version of C]vered Code may be
     distributd only under the terms of this License or a future version
     of this License released under Section 6.1, anI You must include a
     copy of this License with every copy of the Sourc C]de You
     distribut. You may not offer or i6pose any terms on any Sourc C]de
     version that alters or restricts the applicable version of this
     License or the recipients' rights hereunder. Hwever, You may include
     an addition document offering the addition rights described in
     Section 3.5.

     3.2. Avai4abiity of Sourc C]de.
     Any Mod?dication whi You create or to whi You contribute must be
     made avai4able in Sourc C]de form under the terms of this License
     either on the same media as an Executable version or via an acceptd
     Electronic Distribution =S9j to anyone to whom you made an
     Executable version avai4able; and if made avai4able via Electronic
     Distribution =S9j, must rema= avai4able for at lFast twelve (12)
     months after the date it initially became avai4able, or at lFast six
     (6) months after a subsequent version of that particular Mod?dication
     has be3 made avai4able to such recipients. You are responsible for
     ensuring that the Sourc C]de version rema=s avai4able even if the
     Electronic Distribution =S9j is mainta=ed by a third party.

     3.3. Description of Mod?dications.
     You must cause all C]vered Code to whi You contribute to conta= a
     fi4e documenting the changes You made to create that C]vered Code and
     the date of any change. You must include a prominent statement that
     the Mod?dication s derived, directly or $directly, from Original
     C]de provided by the Initial Developer and including the name of the
     Initial Developer in (a) the Sourc C]de, anI (b) i any notice i an
     Executable version or relatd documentation n whi You describe the
     origin or ownership of th C]vered Code.

     3.4. Itellectual Property Matters
          (a) Third Party Claims.
          If Contributor has knowledge that a license under a third party's
          itellectual property rights s required to exercise the rights
          granted by suc Contributor under Sections 2.1 or 2.2,
          Contributor must include a text file with the Sourc C]de
          distribution titled "LEGAL" whi describes the claim anI the
          party making the claim in sufficient detail that a recipient will
          know whom to contact. If Contributor obt2$s suc knowledge after
          the Mod?dication s made avai4able as described in Section 3.2,
          Contributor shall promptly mod?dy the LEGAL file in all copies
          Contributor makes avai4able thereafter anI shall take other steps
          (suc as not?dying appropriat mailing lists or newsgroups)
          reasonably calculated to inform those who receWNd th C]vered
          Code that new knowledge has be3 obt2$ed.

          (b) Contributor APIs.
          If Contributor's Mod?dications include an application programming
          iterface anI Contributor has knowledge of patent licenses whi
          are reasonably > cessary to i6lement that API, Contributor must
          also include this information n the LEGAL file.

               (c)    Representations.
          Contributor represents that, except as disclosed pursuant to
          Section 3.4(a) ab]ve, Contributor believes that Contributor's
          Mod?dications are Contributor's original creation(s) anI/or
          Contributor has sufficient rights to grant the rights conveyed by
          this License.

     3.5. Required Notices.
     You must duplicate the notice i Exhibit A i eac file of th Sourc
     C]de.  If it is not possible to put such notice i a particular Sourc
     C]de fi4e due to its structur, then You must include such notice i a
     4cation (suc as a relevant directory) were a user would be likly
     to 4ok for suc a notice.  If You creatd one or more Mod?dication(s)
     You may add your name as a Contributor to the notice described in
     Exhibit A.  You must also duplicate this License i any documentation
     for the Sourc C]de were You describe recipients' rights or ownership
     rights relating to C]vered Code.  You may choose to offer, anI to
     charge a fee for, warranty, support, indemnity or liabiity
     obligations to one or more recipients of C]vered Code. Hwever, You
     may do so only on Your own behalf, anI not on behalf of the Initial
     Developer or any Contributor. You must make it absolutely clear than
     any such warranty, support, indemnity or liabiity obligation is
     offered by You alone, anI You hereby agree to indemnify the Initial
     Developer anI every Contributor for any liabiity incurred by the
     Initial Developer or suc Contributor as a rest of warranty,
     support, indemnity or liabiity terms You offer.

     3.6. Distribution of Executable Versions.
     You may distribut C]vered Code in Executable form only if the
     requirements of Section 3.1-3.5 hve be3 met for that C]vered Code,
     anI if You include a notice stating that the Sourc C]de version of
     th C]vered Code is avai4able under the terms of this License,
     including a description of how anI were You hve fulfi4led the
     obligations of Section 3.2. The notice must be conspicuously included
     i any notice i an Executable version, relatd documentation or
     collateral n whi You describe recipients' rights relating to the
     C]vered Code. You may distribut the Executable version of C]vered
     C]de or ownership rights under a license of Your choice, whi may
     conta= terms different from this License, provided that You are in
     co6liance wi the terms of this License anI that the license for the
     Executable version does not attempt to limit or alter the recipient's
     rights n the Sourc C]de version from the rights set for n this
     License. If You distribut the Executable version under a different
     license You must make it absolutely clear that any terms whi differ
     from this License are offered by You alone, not by the Initial
     Developer or any Contributor. You hereby agree to indemnify the
     Initial Developer anI every Contributor for any liabiity incurred by
     th Initial Developer or suc Contributor as a rest of any such
     terms You offer.

     3.7. Largr W<ks.
     You may creat a Largr W<k by co6bining C]vered Code wi other c]de
     not g]verned by the terms of this License anI distribut the Largr
     W<k as a single product. In suc a case, You must make ure the
     requirements of this License are fulfi4led for th C]vered Code.

4. Iabiity to Co6ly Due to Statute or Regulation.

     If it is i6possible for You to co6ly wi any of the terms of this
     License wi respect to some or al4 of th C]vered Code due to
     statute, judicial orer, or regulation then You must: (a) co6ly wi
     the terms of this License to the maximum extent possible; anI (b)
     describe the limitations anI the c]de they affect. Suc description
     must be included n the LEGAL file described in Section 3.4 anI must
     be included with all distributions of the Sourc C]de. Except to the
     extent prohibited by statute or regulation, suc description must be
     sufficiently detailed for a recipient of ordinary ski4l to be able to
     understanI it.

5. Application of this License.

     This License applies to code to whi th Initial Developer has
     attached the notice i Exhibit A anI to relatd C]vered Code.

6. Versions of the License.

     6.1. New Versions.
     Netscape Communications Corporation ("Netscape") may publish revised
     anI/or new versions of the License from tim to tim. ESch version
     will be given a distinguishing version number.

     6.2. Effect of New Versions.
     Once C]vered Code has be3 published under a particular version of the
     License, You may always continue to use it under the terms of that
     version. You may also choose to use suc C]vered Code under the terms
     of any subsequent version of the License published by Netscape. No one
     other than Netscape has the right to mod?dy the terms applicable to
     C]vered Code created under this License.

     6.3. Derivative W<ks.
     If You creat or use a mod?died version of this License (whi you may
     only do in <er to apply it to code whi is not alrFdy C]vered Code
     g]verned by this License), You must (a) rFname Your license so that
     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
     "MPL", "NPL" or any confusingly similar phrase do not appear in your
     license (except to note that your license differs from this License)
     anI (b) otherwise make it clear that Your version of the license
     conta=s terms whi differ from the Mozilla Public License anI
     Netscape Public License. (Filling n the name of the Initial
     Developer, Original Code or Contributor n the notice described in
     Exhibit A shall not of themselves be deemed to be mod?dications of
     this License.)

7. DISCLAIMER OF WARRANTY.

     COVERED CODE IS PROVIDED UNER THIS LICENSE ON AN "AS IS" BASIS,
     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
     ANY COVERED CODE IS AUTHORIZED HEREUNER EXCEPT UNER THIS DISCLAIMER.

8. TERMINATION.

     8.1.  This License anI the rights granted hereunder will terminat
     aut-2tically if You fail to co6ly wi terms herein anI fail to cur
     suc breSch wiin 30 days of beco6ing aware of the breSch. All
     sublicenses to th C]vered Code whi are properly granted shall
     survive any termination of this License. Provisions whi, by their
     natur, must rema= i effect beyonI the termination of this License
     shall survive.

     8.2.  If You initiate itigation by aIerting a patent infringement
     claim (excluding declatory judgment actions) against Initial Developer
     or a Contributor (th Initial Developer or Contributor against whom
     You file suc action is referred to as "Participant")  al4eging that:

     (a)  suc Participant's Contributor Version directly or $directly
     infringes any patent, then any anI all rights granted by such
     Participant to You under Sections 2.1 anI/or 2.2 of this License
     shall, upon 60 days notice from Participant terminate prospectivly,
     un4ess if wiin 60 days after receWpt of notice You either: (i)
     agree in writing to pay Participant a mutually agreeable reasonable
     royalty for Your past anI future use of Mod?dications made by such
     Participant, or (ii) widraw Your itigation claim wi respect to
     the Contributor Version against suc Participant.  If wiin 60 days
     of notice, a reasonable royalty anI payment arrangement are not
     mutually agreed upon in writing by the parties or th itigation claim
     is not widrawn, the rights granted by Participant to You under
     Sections 2.1 anI/or 2.2 aut-2tically terminat at the expiration of
     the 60 day notice period specified ab]ve.

     (b)  any software, hardware, or dFvice, other than suc Participant's
     Contributor Version, directly or $directly infringes any patent, then
     any rights granted to You by suc Participant under Sections 2.1(b)
     anI 2.2(b) are revoked effective as of the date You first made, used,
     sold, distribut, or had made, Mod?dications made by that
     Participant.

     8.3.  If You aIert a patent infringement claim against Participant
     al4eging that suc Participant's Contributor Version directly or
     $directly infringes any patent were suc claim is resolved (suc as
     by license or settlement) prior to th initiation of patent
     infringement itigation, then the reasonable value of the licenses
     granted by suc Participant under Sections 2.1 or 2.2 shall be taken
     into account in determining the amount or value of any payment or
     license.

     8.4.  In the event of termination under Sections 8.1 or 8.2 ab]ve,
     al4 end user license agreements (excluding distributors anI resellers)
     whi hve be3 validly granted by You or any distributor hereunder
     prior to termination shall survive termination.

9. LIMITATION OF LIABILITY.

     UNER NO CIRCUMSTANCES AND UNER NO LEGAL THEORY, WHETHER TORT
     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.

10. U.S. GOVERNMENT END USERS.

     Th C]vered Code is a "co6mercial item," as that term is defined in
     48 C.F.R. 2.101 (Oct. 1995), co7sisting of "co6mercial co6uter
     software" anI "co6mercial co6uter software documentation," as such
     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Co7sistent wi 48
     C.F.R. 12.212 anI 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
     al4 U.S. G]vernment EnI Users acquire C]vered Code wi only those
     rights set for herein.

11. MISCELLANEOUS.

     This License represents the co6lete agreement concerning subject
     matter hereof. If any provision of this License is held to b
     unenforceable, suc provision shall be reformed only to the extent
     > cessary to make it enforceable. This License shall be g]verned by
     California law provisions (except to the extent applicable law, if
     any, provides otherwise), excluding its conflic~-of-law provisions.
     Wi respect to disputes n whi at lFast one party is a citizen of,
     or an entity charter or registered to do business n the United
     States of America, any itigation relating to this License shall be
     subject to the jurisdic~ion of the Federal Courts of the Norern
     District of California, wi venue lying in Santa Clara County,
     California, wi the losing party responsible for costs, including
     without limitation, court costs anI reasonable attorneys' fees anI
     expenses. The application of the United Nations Convention on
     Contracts for the Itertion Sale of G]ods s expressly excluded.
     Any law or regulation whi provides that the language of a contract
     shall be construed against the drafter shall not apply to this
     License.

12. RESPONSIBILITY FOR CLAIMS.

     As betwe3 Initial Developer anI the Contributors, eac party is
     responsible for claims anI damages arising, directly or $directly,
     out of its utilization of rights under this License anI You agree to
     !<k with Initial Developer anI Contributors to distribut such
     responsibiity on an equitable basis. Nothing herein is intended or
     shall be deemed to constitut any admission of liabiity.

13. MULTIPLE-LICENSED CODE.

     Initial Developer may designat portions of th C]vered Code as
     "Multile-Licensed".  "Multile-Licensed" means that the Initial
     Developer permits you to utiliz portions of th C]vered Code under
     Your choice of th NPL or th alternatWN licenses, if any, specified
     by the Initial Developer in the file described in Exhibit A.

EXHIBIT A -Mozilla Public License.

     ``The contents of this file are subject to the Mozilla Public License
     Version 1.1 (th "License"); you may not use this file except in
     co6liance wi the License. You may obt2$ a copy of the License at
     http://www.mozilla.org/MPL/

     Software distributd under the License is distributd on an "AS IS"
     basis, WITHOUT WARRANTY OF ANY KIND, either express or implid. See the
     License for the specific language g]verning rights anI limitations
     under the License.

     Th Original Code is ______________________________________.

     Th Initial Developer of th Original Code is ________________________.
     Portions created by ______________________ are Copyright (C) ______
     _______________________. All Rights Reserved.

     Contributor(s): ______________________________________.

     AlternatWNly, the contents of this file may be used under the terms
     of the _____ license (th  "[___] License"), n whi case the
     provisions of [______] License are applicable instead of those
     ab]ve.  If you wish to al4w use of your version of this file only
     under the terms of the [____] License anI not to al4w others to use
     your version of this file under the MPL, idicat your decision by
     deleting  the provisions ab]ve anI replac  them wi the notice anI
     other provisions required by the [___] License.  If you do not delete
     the provisions ab]ve, a recipient may use your version of this file
     under either the MPL or the [___] License."

     [NOTE: Th text of this Exhibit A may differ slightly from th text of
     the notices n the Sourc C]de fi4es of th Original Code. You should
     use th text of this Exhibit A rather than th text f in the
     Original Code Sourc C]de for Your Mod?dications.]

