     function gen_mail_to_link(lhs, rhs, subject, text) {
                                            const rhs_subj = subject ? `${rhs}?subject=${subject}` : rhs;
                                            const _txt = text ? text : `${lhs}@${rhs}`;
                                            const generated = `<a class="mailto" href="mailto:${lhs}@${rhs_subj}" target=_blank>${_txt}</a>`;
                                            document.write(generated);
                                        }
     