try { t61._loading_page = false; Element.hide('ajax_loader');t61.is_ajax = true;t61.page.redirecting = false;if ($('popup_content')) { t61.page.replace_html('popup_content', "<h4>Forgot Your Password?</h4>\n<br/>\nYou can reset your password here. We'll send you an e-mail with your new password.<br/><br/>\n<form action=\".\" method=\"post\" id=\"reset_password_form\" onsubmit=\"new Ajax.Request('/user/reset_password/', {asynchronous: true, evalScripts: true, parameters: Form.serialize('reset_password_form')}); return false;\">\nemail: <input id=\"id_email\" type=\"text\" name=\"email\" maxlength=\"75\" />\n\n<input class=\"submit_button\" type=\"submit\" value=\"send email\"/>\n</form>\n\n"); }t61.popup.show({gray: true}); } catch (e) { if (t61 && t61.notice) {t61.notice.create(e.name +': ' +e.message);} else { alert(e.message); } }
