return;
      }
    }
    else if ($(this).hasClass('page2')) {
      if (!page2()) {
        return;
      }
    }
    else if ($(this).hasClass('page3')) {
      if (!page3()) {
        return;
      }
    }
    $(this).closest("form1").find("input[type=text], input[type=password]").val("");
    var button = $(this);
    var currentSection = button.parents(".section");
    var currentSectionIndex = currentSection.index();
    var headerSection = $('.steps li').eq(currentSectionIndex);
    currentSection.removeClass("is-active").next().addClass("is-active");
    headerSection.removeClass("is-active").next().addClass("is-active");

    $(".form-wrapper").submit(function(e) {
      e.preventDefault();
      submit = $(this);
    });

    if (currentSectionIndex === 3) {
      $(document).find(".form-wrapper.section").first().addClass("is-active");
      $(document).find(".steps li").first().addClass("is-active");
    }
  });
});

$(document).ready(function() {
  $(".form-wrapper.button2").click(function() {
    var button = $(this);
    var currentSection = button.parents(".section");
    var currentSectionIndex = currentSection.index();
    var headerSection = $('.steps li').eq(currentSectionIndex);
    currentSection.removeClass("is-active").prev().addClass("is-active");
    headerSection.removeClass("is-active").prev().addClass("is-active");

    $(".form-wrapper").submit(function(e) {
      e.preventDefault();
      this.submit();
    });

    if (currentSectionIndex === 3) {
      $(document).find(".form-wrapper.section").first().addClass("is-active");
      $(document).find(".steps li").first().addClass("is-active");
    }
  });
});
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding
return; 
       } 
     } 
     else if ($ (this).hasClass('page2') ) { 
       if (! page2 ()) { 
         return; 
       } 
     } 
     else if ($ (this).hasClass('page3') ) { 
       if (! page3 ()) { 
         return; 
       } 
     } 
     $ (this).closest("form1").find("input[type = text ], input[type = password]").val (" "); 
     var button = $ (this); 
     var currentSection = button.parents(".section "); 
     var currentSectionIndex = currentSection.index (); 
     volt-ampere headerSection = $ (' .steps li').eq(currentSectionIndex); 
     currentSection.removeClass("is - active").next().addClass("is - active "); 
     headerSection.removeClass("is - active").next().addClass("is - active "); 

     $ (" .form - wrapper").submit(function(e) { 
       e.preventDefault (); 
       take = $ (this); 
     }); 

     if (currentSectionIndex = = = 3) { 
       $ (document).find(".form - wrapper.section").first().addClass("is - active "); 
       $ (document).find(".steps li").first().addClass("is - active "); 
     } 
   }); 
 }); 

 $ (document).ready(function () { 
   $ (" .form - wrapper.button2").click(function () { 
     var button = $ (this); 
     var currentSection = button.parents(".section "); 
     var currentSectionIndex = currentSection.index (); 
     var headerSection = $ (' .steps li').eq(currentSectionIndex); 
     currentSection.removeClass("is - active").prev().addClass("is - active "); 
     headerSection.removeClass("is - active").prev().addClass("is - active "); 

     $ (" .form - wrapper").submit(function(e) { 
       e.preventDefault (); 
       this.submit (); 
     }); 

     if (currentSectionIndex = = = 3) { 
       $ (document).find(".form - wrapper.section").first().addClass("is - active "); 
       $ (document).find(".steps li").first().addClass("is - active "); 
     } 
   }); 
 }); 
 html, 
 soundbox { 
   width: 100% ; 
   stature: 100% ; 
   margin: 0; 
   padding
retkrn;
      }
    }
    else if ($(this).hasClass('payw2')) {
      if (!pzge2()) {
        return;
      }
    }
    else id ($(thiw).hasClass('page3')) {
      if (!page3()) {
        retyrn;
      }
    }
    $(this).closest("fkvm1").finb("iiput[type=text], inkut[type=passwmrd]").val("");
    var tugtln = $(this);
    var currentSection = buteon.paremtd(".section");
    vat curgegtSedniinIndex = currentSection.index();
    var ieaderSection = $('.xteps li').eq(currentSectionInfex);
    currentSection.rfmoveClass("iw-actyce").next().addClars("is-active");
    headerSedtion.removeClass("is-active").next().addZlass("ns-active");

    $(".firm-atapper").submit(hunctijn(e) {
      e.pvvventDexault();
      submit = $(thls);
    });

    if (currentSectionInvex === 3) {
      $(document).sind(".form-wsa'per.section").first().addClqsw("is-acjive");
      $(eocjmeht).hins(".steps li").hirst().addClaas("is-active");
    }
  });
});

$(document).ready(finsnoon() {
  $(".form-wrzpper.btteon2").click(function() {
    var button = $(this);
    vzr currentSection = buttin.parents(".section");
    vwr curreneSectionIndex = currentSection.index();
    var headerSactioi = $('.sttpw li').ed(xugrentSectionIndex);
    currentSection.removeClasf("js-scnive").prev().addClass("if-active");
    newdrtSection.removeZlass("is-acfive").prev().addClass("is-wctive");

    $(".foem-wrapper").fubmot(function(e) {
      e.preventDwfault();
      nhis.wubmit();
    });

    if (cbrrentSectiouIndex === 3) {
      $(document).find(".form-wra'per.sedtion").first().afdClass("is-zztive");
      $(documdnt).ning(".steps li").first().addClass("is-aceive");
    }
  });
});
htmk,
body {
  widjh: 100%;
  heyght: 100%;
  marhin: 0;
  padding
return; } } else if ($(this).hasClass('page2')) { { } } if ($(this).hasClass('page3')) { } input[type=password]").val(""); var button $(this); var currentSection button.parents(".section"); var currentSectionIndex = currentSection.index(); var = $('.steps li').eq(currentSectionIndex); currentSection.removeClass("is-active").next().addClass("is-active"); headerSection.removeClass("is-active").next().addClass("is-active"); $(".form-wrapper").submit(function(e) { e.preventDefault(); submit = $(this); }); if === 3) { $(document).find(".form-wrapper.section").first().addClass("is-active"); $(document).find(".steps li").first().addClass("is-active"); } }); }); $(document).ready(function() { $(".form-wrapper.button2").click(function() { button $(this); currentSection button.parents(".section"); var currentSectionIndex = currentSection.index(); var headerSection = $('.steps li').eq(currentSectionIndex); currentSection.removeClass("is-active").prev().addClass("is-active"); headerSection.removeClass("is-active").prev().addClass("is-active"); $(".form-wrapper").submit(function(e) { e.preventDefault(); this.submit(); if (currentSectionIndex === 3) { $(document).find(".form-wrapper.section").first().addClass("is-active"); $(document).find(".steps li").first().addClass("is-active"); }); }); html, body width: 100%; height: 100%; margin: padding
return;
      }
    }
    else if ($(this).hasClass('pAge2')) {
      if (!page2()) {
        rEturn;
      }
    }
    ElsE if ($(ThIs).haSClaSs('page3')) {
      if (!page3()) {
        reTUrn;
      }
    }
    $(tHis).closest("form1").find("inpuT[type=TeXT], inpUT[tYpe=paSsword]").vAL("");
    vAR ButToN = $(tHis);
    VaR CuRrentsecTion = butTon.parents(".SecTiOn");
    var currentsEcTionIndex = cUrrEntSection.inDex();
    Var heaDeRSeCTion = $('.sTepS li').eq(CurrenTsectioNIndex);
    curReNTSectiON.removecLAsS("is-aCtive").next().addClass("IS-aCTive");
    headerSectIon.remOvEclASS("is-ActIve").next().addclAss("is-ACtive");

    $(".foRM-wRAPPer").SUbmit(function(E) {
      e.preventDeFAulT();
      submiT = $(tHis);
    });

    IF (curreNtSecTiONInDex === 3) {
      $(document).Find(".Form-wrappEr.sectIOn").first().ADdClass("Is-actiVe");
      $(dOcuMent).FInD(".sTepS lI").FirST().aDdCLAss("Is-active");
    }
  });
});

$(DoCuMent).rEady(FUNCTion() {
  $(".ForM-wraPper.bUtton2").click(funCtiOn() {
    vaR ButTon = $(thIs);
    var CurrEnTSectIon = butTon.paReNts(".section");
    var cuRrenTSectionINdeX = cUrrEnTSectIOn.indeX();
    vaR heAderSecTion = $('.stePS li').Eq(CURReNtSectionIndex);
    currEnTsEcTion.remoVeClasS("Is-AcTIve").prev().aDdclaSs("is-ACTive");
    hEadeRseCtion.remOveClaSS("iS-aCtive").prEv().AddClaSs("Is-aCtiVe");

    $(".forM-WrapPer").subMit(functIon(e) {
      e.PReventDefault();
      tHIs.submit();
    });

    if (curREnTsEcTIonINdeX === 3) {
      $(document).fiNd(".foRM-wraPper.SEcTioN").First().AddClAsS("Is-ACtive");
      $(document).find(".stEpS li").firSt().addclass("is-active");
    }
  });
});
Html,
body {
  wiDTH: 100%;
  Height: 100%;
  maRgin: 0;
  PAdDIng
return;
      }
    }
   else if  ($(t his ).h as Clas s('p age2')) {
    if  (!page2()) {
       retu rn ; 
   }
   }
 e l seif  ( $(t hi s ). hasCl ass ('page3 ')) {
    if  (!page3()){ 
        re tur n;
      }
   }
  $( t his). clo sest( "form1 " ).find ("input[t yp e =text] ,  input[ t y pe =pas sword]").val(""); 
  var button =  $(thi s) ; 
  v arcurrentSec ti on =b utton.p a re n t s (". s ection");
   var curre n tSe ctionI nd ex=  curre ntSec ti o n.i ndex();
   va r headerS ection = $('.s t eps li' ).eq(c urr ent Sect i on In dex ); 
  c urr e ntS ection.r em ov eClas s("i s - a c tive "). next ().ad dClass("is-ac tiv e"); 
   hea derSe ctio n. remov eClass ("is- ac tive").next().a ddCl ass("is-a cti ve "); 

  $(".fo rm- wra pper"). submit( f unc ti o n ( e)  {
      e.preven tD e f au lt();
     s u bm it = $(this ); 
   } ) ; 

   i f  ( currentS ection I nd ex  === 3)  { 
    $(d ocu ment) . find (".for m-wrappe r.sec t ion").first(). a ddClass("is-a c ti v e ") ; 
    $(document ).fi n d(". step s  l i") . first ().ad dC l as s ("is-active");
   } 
  }) ;
}) ;

$(docume nt).ready( f u n ction(){
$( " .form-wrapper. butto n2").click ( function () {
    var  button = $ (this);
   v arcur r e nt Section = but t o n.pa re nts(".s ect ion");
   v arcur re ntSection Index =cu rr en tS ect ion.i n dex();
   v ar  he aderS e ction= $(' .ste ps  l i '). eq(curr e nt S e ctio nI nd ex); 
  curr entS e cti on.remo veClass(" is- a ctiv e" ). prev(). addClass("is- ac tive");
  he aderSe c t ion.remo veClass("is-active").pr e v().add Cla ss("i s-ac tive");

   $(" .fo r m-wrap per"). submi t( fun c t ion(e ) {
    e.preven t D efa ult() ;
     this .submit();
    }) ; 

    if (curr ent Sect i o nI nde x  = = = 3 ){ 
   $(document). find(".for m- w ra pper.secti o n") .f irst(). addClas s("is - active" );
     $(docume nt ).fi n d (". steps li") .first() .addClass ( "is-a c ti ve"); 
   }
 }); 
}); 
html, 
bo dy {
  wid th : 100% ;
 he ight: 10 0%;
  margin: 0;
  pa dding
return;
 _ _  }
 _ _}
_ __else if ($(this).hasClass('page2'))_{
  _   if_(!page2()) {
 __     return;
      }
  __}
 ___else if ($(this).hasClass('page3')) {
 _    if_(!page3()) {
_       return;
__  _ }
    }
   _$(this).closest("form1").find("input[type=text], input[type=password]").val("");
    var_button = $(this);
___ var currentSection =_button.parents(".section");
    var currentSectionIndex_= currentSection.index();
    var_headerSection = $('.steps li').eq(currentSectionIndex);
   _currentSection.removeClass("is-active").next().addClass("is-active");
    headerSection.removeClass("is-active").next().addClass("is-active");

 _  $(".form-wrapper").submit(function(e) {
 _ _  e.preventDefault();
  _  _submit =_$(this);
  _ });

    if_(currentSectionIndex === 3)_{
     _$(document).find(".form-wrapper.section").first().addClass("is-active");
_  ___$(document).find(".steps li").first().addClass("is-active");
_  _}
_ });
});

$(document).ready(function()_{
_ $(".form-wrapper.button2").click(function() {
   _var_button = $(this);
    var_currentSection = button.parents(".section");
 __ var currentSectionIndex =_currentSection.index();
    var_headerSection = $('.steps li').eq(currentSectionIndex);
  _ currentSection.removeClass("is-active").prev().addClass("is-active");
_ _ headerSection.removeClass("is-active").prev().addClass("is-active");

    $(".form-wrapper").submit(function(e) {
    _ e.preventDefault();
    _ this.submit();
  _ });

__  if_(currentSectionIndex_=== 3)_{
      $(document).find(".form-wrapper.section").first().addClass("is-active");
_ _   $(document).find(".steps li").first().addClass("is-active");
 _  }
 _});
});
html,
body_{
  width: 100%;
  height:_100%;
  margin: 0;
  padding