				$("#signup_box #sign-email").val('');
								$("#signup_box #sign-pass").val('');
								$("#signup_box #conf-pass").val('');
																	window.postMessage({action: 'register_success'}, document.location.href);
								
								// populating the invitations view, redirection is tagged to skip link inside '/invitations/index'
																	var redirect_to	= $("#redirect_to").val();
									if(redirect_to != "")
										window.location.href = redirect_to;
									else
										window.locat