isplay", "none");
			$('.login_page').fadeIn();
		});

		$('.overlay_section').on('click', '#need_acc', function(e){
			e.preventDefault();
			$('.login_page').css("display", "none");
			$('.sign_up_page').fadeIn();
		});

		$("body").on("submit", "#ajax-signup", function(e) {
			e.preventDefault();
			if (typeof perk_get_value == 'function') {
				var partner = perk_get_value('part_id');
			} else {
										var partner = 'JLW-MAC';
							}
			
			var isValid = validateEmailAndPassword($("#sign-email").v