﻿document.writeln("<table cellspacing=\"0\" cellpadding=\"0\" width=\"382\" align=\"center\" border=\"0\">");
document.writeln("        <tbody>");
document.writeln("            <tr>");
document.writeln("                <td>");
document.writeln("                    <form name=\"frmInput\" onsubmit=\"javascript:DisplayCalendar();\" action=\"#\" method=\"post\">");
document.writeln("                    <table class=\"p2\" cellspacing=\"0\" bordercolordark=\"#ffffff\" cellpadding=\"1\" width=\"382\"");
document.writeln("                        align=\"center\" bordercolorlight=\"#000000\" border=\"1\">");
document.writeln("                        <tbody>");
document.writeln("                            <tr align=\"middle\" bgcolor=\"#ffcccc\">");
document.writeln("                                <td width=\"100\" bgcolor=\"#FAF0F1\" class=\"red_title_s\">");
document.writeln("                                    上次月经时间");
document.writeln("                                </td>");
document.writeln("                                <td width=\"382\" bgcolor=\"#FAF0F1\">");
document.writeln("                                    <input class=\"inputform\" maxlength=\"4\" size=\"8\" name=\"txtYear\">");
document.writeln("                                    <span class=\"red_title_s\">年</span>");
document.writeln("                                    <input class=\"inputform\" maxlength=\"2\" size=\"8\" name=\"txtMonth\">");
document.writeln("                                    <span class=\"red_title_s\">月</span>");
document.writeln("                                    <input class=\"inputform\" maxlength=\"2\" size=\"8\" name=\"txtDay\">");
document.writeln("                                    <span class=\"red_title_s\">日 </span>");
document.writeln("                                </td>");
document.writeln("                            </tr>");
document.writeln("                        </tbody>");
document.writeln("                    </table>");
document.writeln("                    <table cellspacing=\"0\" cellpadding=\"0\" width=\"382\" align=\"center\" border=\"0\">");
document.writeln("                        <tbody>");
document.writeln("                            <tr align=\"middle\">");
document.writeln("                                <td height=\"20\">");
document.writeln("                                    <input style=\"border-right: #000000 1px solid; border-top: #000000 1px solid; font-size: 9pt;");
document.writeln("                                        background: #dadada; border-left: #000000 1px solid; border-bottom: #000000 1px solid\"");
document.writeln("                                        onclick=\"javascript:DisplayCalendar();\" type=\"button\" value=\"开始计算\" name=\"btnCalculate\">");
document.writeln("                                    <input style=\"border-right: #000000 1px solid; border-top: #000000 1px solid; font-size: 9pt;");
document.writeln("                                        background: #dadada; border-left: #000000 1px solid; border-bottom: #000000 1px solid;");
document.writeln("                                        font-family: 宋体\" type=\"reset\" value=\"重新输入\" name=\"reset\">");
document.writeln("                                </td>");
document.writeln("                            </tr>");
document.writeln("                        </tbody>");
document.writeln("                    </table>");
document.writeln("                    <table class=\"p2\" cellspacing=\"0\" bordercolordark=\"#ffffff\" cellpadding=\"3\" width=\"382\"");
document.writeln("                        align=\"center\" bordercolorlight=\"#666666\" border=\"1\">");
document.writeln("                        <tbody>");
document.writeln("                            <tr align=\"middle\" bgcolor=\"#dadada\">");
document.writeln("                                <td colspan=\"2\" bgcolor=\"#E1CDCE\" class=\"red\">");
document.writeln("                                    如果您的月经周期不是28天，请设置您的周期，再计算！");
document.writeln("                                </td>");
document.writeln("                            </tr>");
document.writeln("                            <tr align=\"middle\" bgcolor=\"#ffcccc\">");
document.writeln("                                <td width=\"200\" bgcolor=\"#FAF0F1\">");
document.writeln("                                    <span class=\"red_title_s\">最短月经周期</span>");
document.writeln("                                    <input class=\"inputform\" maxlength=\"2\" size=\"8\" value=\"28\" name=\"txtMinMensesCyc\">");
document.writeln("                                    <span class=\"red_title_s\">天</span>");
document.writeln("                                </td>");
document.writeln("                                <td width=\"200\" bgcolor=\"#FAF0F1\">");
document.writeln("                                    <span class=\"red_title_s\">最长月经周期</span>");
document.writeln("                                    <input class=\"inputform\" maxlength=\"2\" size=\"8\" value=\"28\" name=\"txtMaxMensesCyc\">");
document.writeln("                                    <span class=\"red_title_s\">天</span>");
document.writeln("                                </td>");
document.writeln("                            </tr>");
document.writeln("                        </tbody>");
document.writeln("                    </table>");
document.writeln("                    <table cellspacing=\"0\" cellpadding=\"0\" width=\"382\" align=\"center\" border=\"0\">");
document.writeln("                        <tbody>");
document.writeln("                            <tr align=\"middle\">");
document.writeln("                                <td height=\"20\">");
document.writeln("                                    <input style=\"border-right: #000000 1px solid; border-top: #000000 1px solid; font-size: 9pt;");
document.writeln("                                        background: #dadada; border-left: #000000 1px solid; border-bottom: #000000 1px solid;");
document.writeln("                                        font-family: 宋体\" onclick=\"javascript:DisplayCalendar();\" type=\"button\" value=\"设置完成\"");
document.writeln("                                        name=\"Submit3\">");
document.writeln("                                </td>");
document.writeln("                            </tr>");
document.writeln("                        </tbody>");
document.writeln("                    </table>");
document.writeln("                    <table width=\"382\" height=\"20\" border=\"0\" align=\"center\" cellpadding=\"2\" cellspacing=\"0\">");
document.writeln("                        <tr>");
document.writeln("                            <td width=\"10\" height=\"10\" bgcolor=\"#009933\">");
document.writeln("                                <spacer width=\"30\" type=\"block\">");
document.writeln("                            </td>");
document.writeln("                            <td width=\"95\">");
document.writeln("                                <span class=\"gray\">安全期</span>");
document.writeln("                            </td>");
document.writeln("                            <td width=\"10\" height=\"20\" bgcolor=\"#ff3382\">");
document.writeln("                                <spacer width=\"30\" type=\"block\">");
document.writeln("                            </td>");
document.writeln("                            <td width=\"95\">");
document.writeln("                                <span class=\"gray\">危险期</span>");
document.writeln("                            </td>");
document.writeln("                            <td width=\"10\" height=\"20\" bgcolor=\"#ffcc00\">");
document.writeln("                                <spacer width=\"30\" type=\"block\">");
document.writeln("                            </td>");
document.writeln("                            <td width=\"95\">");
document.writeln("                                <span class=\"gray\">月经期</span>");
document.writeln("                            </td>");
document.writeln("                        </tr>");
document.writeln("                    </table>");
document.writeln("                    <table width=\"95\" height=\"1\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("                        <tr>");
document.writeln("                            <td>");
document.writeln("                            </td>");
document.writeln("                        </tr>");
document.writeln("                    </table>");
document.writeln("                    <table cellspacing=\"0\" cellpadding=\"0\" width=\"382\" align=\"center\" border=\"0\">");
document.writeln("                        <tbody>");
document.writeln("                            <tr>");
document.writeln("                                <td class=\"gray\" align=\"left\" width=\"200\">");
document.writeln("                                    <table id=\"Calendar1\" cellspacing=\"0\" cellpadding=\"3\" border=\"0\">");
document.writeln("                                        <tbody>");
document.writeln("                                        </tbody>");
document.writeln("                                    </table>");
document.writeln("                                </td>");
document.writeln("                                <td class=\"gray\" align=\"right\" width=\"200\">");
document.writeln("                                    <table id=\"Calendar2\" cellspacing=\"0\" cellpadding=\"3\" border=\"0\">");
document.writeln("                                        <tbody>");
document.writeln("                                        </tbody>");
document.writeln("                                    </table>");
document.writeln("                                </td>");
document.writeln("                            </tr>");
document.writeln("                        </tbody>");
document.writeln("                    </table>");
document.writeln("                    </form>");
document.writeln("                </td>");
document.writeln("            </tr>");
document.writeln("        </tbody>");
document.writeln("    </table>");
