  $(document).ready(function() {
     $("#id_login_link").click(function() {
      $("#id_create_acct_box").hide();
      $("#id_have_account").hide();	
      $("#id_last_step_create").hide();
      $("#id_registration").hide();
      $("#id_submit_new_account").hide();

      $("#id_last_step_login").show();
      $("#id_login_box").show();
      $("#id_create_account").show();
       return false;
     });
 
     $("#id_create_acct_link").click(function() {
      $("#id_login_box").hide();
      $("#id_last_step_login").hide();
      $("#id_create_account").hide();

      $("#id_registration").show();
      $("#id_have_account").show();	
      $("#id_last_step_create").show();
      $("#id_create_acct_box").show();
      $("#id_submit_new_account").show();
       return false;
     });
    $("#switch_login_link").click(function() {
      $("#id_create_acct_box input, .registration_form input").val("").removeClass("jv_error error_text valid");
      $("#id_create_acct_box label.error_text,#id_create_acct_box span.error_text,#id_create_acct_box label.valid,#id_create_acct_box span.valid, .registration_form label.error_text,.registration_form span.error_text,.registration_form label.valid,.registration_form span.valid").remove();
      $("#login_form, .login_form, #id_last_step_login, .register_blue_box").show();
      $("#register_form, .registration_form, #id_last_step_create, .login_blue_box").hide();
      //$(this).parents("fieldset").removeClass("register_account").addClass("login_account");
      return false;
    });

    $("#switch_create_acct_link").click(function() {
      $("#login_form input, .login_form input").val("").removeClass("jv_error error_text valid");
      $("#login_form label.error_text,#login_form span.error_text,#login_form label.valid,#login_form span.valid, .login_form label.error_text,.login_form span.error_text,.login_form label.valid,.login_form span.valid").remove();
      $(".form_error").removeClass("form_error");
      $("#login_form, .login_form, #id_last_step_login, .register_blue_box").hide();
      $("#register_form, .registration_form, #id_last_step_create, .login_blue_box").show();
      //$(this).parents("fieldset").removeClass("login_account").addClass("register_account");
      return false;
    });
  });
