<FORM NAME="mailer" METHOD="post" ACTION="" ENCTYPE="text/plain" onSubmit="(document.mailer.action += mailtoandsubject)"> <!-- Original: Jeff Kieke --> <TABLE BORDER=0 bgcolor="#CCCCCC"> <TR VALIGN="top"> <TD>Получатель:</TD> <TD><SELECT NAME="mailtoperson" onChange="msg(this.form)"> <OPTION VALUE="">-- Выбрать -- <OPTION VALUE="person1@yandex.ru">person1@yandex.ru <OPTION VALUE="person2@yandex.ru">person2@yandex.ru <OPTION VALUE="person3@yandex.ru">person3@yandex.ru </SELECT></TD> </TR> <TR VALIGN="top"> <TD>Ваше имя:</TD> <TD><INPUT TYPE="text" SIZE=35 NAME="name" onChange="msg(this.form)"></TD> </TR> <TR VALIGN="top"> <TD>Ваш Email:</TD> <TD><INPUT TYPE="text" SIZE=35 NAME="email" onChange="msg(this.form)"></TD> </TR> <TR VALIGN="top"> <TD>Важность:</TD> <TD> <SELECT NAME="priority" onChange="msg(this.form)"> <OPTION VALUE="NaN" selected>Невыбрано <OPTION VALUE="Normal">Обычное <OPTION VALUE="Urgent">Важное <OPTION VALUE="No Reply Needed">Не очень важное </SELECT></TD> </TR> <TR VALIGN="top"> <TD>Тема:</TD> <TD><INPUT TYPE="text" SIZE=35 NAME="subject" onChange="msg(this.form)"></TD> </TR> <TR VALIGN="top"> <TD>Сообщение:</TD> <TD><TEXTAREA NAME="message" COLS=35 ROWS=5 WRAP="virtual" OnChange="msg(this.form)"></TEXTAREA></TD> </TR> <TR> <TD> </TD> <TD><INPUT TYPE="submit" VALUE="Отправить"> <INPUT TYPE="reset" VALUE="Сброс"></TD> </TR> </TABLE> </FORM> <SCRIPT LANGUAGE="JavaScript"> function msg() { document.mailer.action = "mailto:" mailtoandsubject = ((document.mailer.mailtoperson.options[document.mailer.mailtoperson.selectedIndex].value) + '?subject=' + document.mailer.subject.value); } </SCRIPT>