function ObjInscription()
{
    this.prenom = "";
    this.nom = "";
    this.adresse = "";
    this.ville = "";
    this.secteur = "";
//    this.province = "";
//    this.pays = "";
    this.courriel = "";
    this.telephone = "";
    this.cellulaire = "";
    this.nomUsager = "";
    this.pwd = "";
    this.services = [];
    this.servicesdemandes = [];
    this.qui = "";
    this.nomQui = "";
    this.preciserQui = "";
    this.interetActivites = 0;
    this.peuRegrouper = 0;
    this.nomPrenomPersContact1 = "";
    this.nomPrenomPersContact2 = "";
    this.lienPersContact1 = "";
    this.lienPersContact2 = "";
    this.telPersContact1 = "";
    this.telPersContact2 = "";
    this.nomTuteur = "";
    this.telTuteur = "";
    this.possessionJetons = 0;
    this.acceptRegles = false;

    this.ToJsonString = function()
    {
        return [{prenom:this.prenom,
                   nom:this.nom,
                   adresse:this.adresse,
                   ville:this.ville,
                   idSecteur:this.secteur,
//                   province:this.province,
//                   pays:this.pays,
                   courriel:this.courriel,
                   telephone:this.telephone,
                   cellulaire:this.cellulaire,
                   nomUsager:this.nomUsager,
                   pwd:this.pwd,
                   services:this.services,
                   servicesdemandes:this.servicesdemandes,
                   qui:this.qui,
                   nomQui:this.nomQui,
                   preciserQui:this.preciserQui,
                   interetActivites:this.interetActivites,
                   peuRegrouper:this.peuRegrouper,
                   nomPrenomPersContact1:this.nomPrenomPersContact1,
                   nomPrenomPersContact2:this.nomPrenomPersContact2,
                   lienPersContact1:this.lienPersContact1,
                   lienPersContact2:this.lienPersContact2,
                   telPersContact1:this.telPersContact1,
                   telPersContact2:this.telPersContact2,
                   nomTuteur:this.nomTuteur,
                   telTuteur:this.telTuteur,
                   possessionJetons:this.possessionJetons,
                   acceptRegles:this.acceptRegles}];
    }

    this.ValiderEtape1 = function()
    {
        return (this.prenom != "" &&
                this.nom != "" &&
                this.adresse != "" &&
                this.ville != "" &&
//                this.province != "" &&
//                this.pays != "" &&
                this.courriel != "" &&
                this.telephone != "");
    }

    this.ValiderEtape2 = function()
    {
        return (this.pwd != "" &&
                this.nomUsager != "" &&
                this.services.length > 0);
    }

    this.ValiderEtape3 = function()
    {
        return this.acceptRegles;
    }
}
