<HTML> <HEAD> <TITLE>女性安全期测试</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"> <style type="text/css"> <!-- a { text-decoration: none} a:hover { text-decoration: underline ;color:#0000ff} A:active { color: #FF0099} table{ font-family: "宋体"; font-size: 9pt} .nine-pt { font-family: "宋体"; font-size: 9pt} .inputform { border: 1px double; border-color: #000000; font-family: "宋体"; font-size: 9pt } .titletext { FONT-SIZE: 14.8px; FONT-FAMILY: "宋体"; LETTER-SPACING: 6px;} INPUT{background: #efefff; BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 1px; PADDING-LEFT: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 9pt; BORDER-LEFT-COLOR: #cccccc; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #cccccc; PADDING-BOTTOM: 1px; BORDER-TOP-COLOR: #cccccc; PADDING-TOP: 1px; HEIGHT: 18px; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #cccccc} --> </style> <script language="JavaScript"> <!-- Hide this script from old browsers -- if (!document.layers&&!document.all) event="test" function showtip2(current,e,text,index){ if (document.all&&document.readyState=="complete"){ eval("var tooltip=document.all.tooltip" + index + ";") //tooltip.innerHTML='<marquee style="border:1px solid black">'+text+'</marquee>' tooltip.innerHTML='' + text + '</TABLE>' tooltip.style.pixelLeft=event.x-195 tooltip.style.pixelTop=event.y-130 tooltip.style.visibility="visible" } else if (document.layers){ eval("var tooltip=document.tooltip" + index + ";") eval("var nstip=document.tooltip" + index + ".document.nstip" + index + ";") nstip.document.write('<b>'+text+'</b>') nstip.document.close() nstip.left=0 //currentscroll=setInterval("scrolltip(" + index + ")",100) tooltip.left=event.x-195 tooltip.top=event.y-130 tooltip.visibility="show" } } function hidetip2(index){ if (document.all) eval("document.all.tooltip" + index + ".style.visibility='hidden';"); else if (document.layers){ //clearInterval(currentscroll) eval("document.tooltip" + index + ".visibility='hidden';") } } function scrolltip(index){ eval("var nstip=document.tooltip" + index + ".document.nstip" + index + ";") if (nstip.left>=-nstip.document.width) nstip.left-=5 else nstip.left=150 } function montharr(m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11) { this[0] = m0; this[1] = m1; this[2] = m2; this[3] = m3; this[4] = m4; this[5] = m5; this[6] = m6; this[7] = m7; this[8] = m8; this[9] = m9; this[10] = m10; this[11] = m11; } var CalendarOuterHTML = ''; var Today = new Date(); var DaysPerMonth = 0; //Get the number of day in some month function GetDayPerMonth(year,month) { var monthDays = new montharr(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); if (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0)) monthDays[1] = 29; DaysPerMonth = monthDays[month]; } function GetCalendarOuterHTML(CalendarIndex,HaveLayer) { CalendarOuterHTML = ''; var thisYear = frmInput.txtYear.value; var thisMonth = parseInt(frmInput.txtMonth.value) + CalendarIndex - 1 ; //when thisMonth beyond 12 if (thisMonth > 12) { thisYear = parseInt(thisYear) + 1; </body></html>