assword_error == 'undefined' && typeof response.message == 'undefined') {
															if(link == 'download'){
									location.href = decodeURIComponent("/perk/downloadconfirmation");
								} else {
									location.href = '/accounts/logged_in_home';
								}
													}
						$("#signup-submit").css('display','block');
						$(".res-cont-sent").css('display','none');
						if(typeof response.email_error != 'undefined' && response.email_error != null) {
							$("#login_box #login-email-error spa