2 // echo "<SCRIPT LANGUAGE='javascript' TYPE='text/javascript' SRC='/calendar/CalendarPopup.js'>
5 echo "<SCRIPT LANGUAGE='JavaScript' ID='js15' SRC='calendar/CalendarPopup.js'>
8 echo "var cal15 = new CalendarPopup();
9 cal15.setReturnFunction('setMultipleValues4');
10 function setMultipleValues4(y,m,d) {
11 document.forms[0].date15_year.value=y;
12 document.forms[0].date15_month.selectedIndex=m;
13 for (var i=0; i<document.forms[0].date15_date.options.length; i++) {
14 if (document.forms[0].date15_date.options[i].value==d) {
15 document.forms[0].date15_date.selectedIndex=i;
20 //echo "function getDateString(y_obj,m_obj,d_obj) {
21 // var y = y_obj.options[y_obj.selectedIndex].value;
22 // var m = m_obj.options[m_obj.selectedIndex].value;
23 // var d = d_obj.options[d_obj.selectedIndex].value;
24 // if (y=="" || m=="") return null;
26 // return str= y+'-'+m+'-'+d;
29 echo "var cal16 = new CalendarPopup();
30 cal16.setReturnFunction('setMultipleValues5');
31 function setMultipleValues5(y,m,d) {
32 document.forms[0].date16_year.value=y;
33 document.forms[0].date16_month.selectedIndex=m;
34 for (var i=0; i<document.forms[0].date16_date.options.length; i++) {
35 if (document.forms[0].date16_date.options[i].value==d) {
36 document.forms[0].date16_date.selectedIndex=i;
45 <SCRIPT LANGUAGE=' JavaScript' >writeSource(' js15' );</SCRIPT>
46 <table align='bottom'>
54 <SELECT NAME=' date15_month' >
56 <OPTION VALUE=' Jan' >January
57 <OPTION VALUE=' Feb' >February
58 <OPTION VALUE=' Mar' >March
59 <OPTION VALUE=' Apr' >April
60 <OPTION VALUE=' May' >May
61 <OPTION VALUE=' Jun' >June
62 <OPTION VALUE=' Jul' >July
63 <OPTION VALUE=' Aug' >August
64 <OPTION VALUE=' Sep' >September
65 <OPTION VALUE=' Oct' >October
66 <OPTION VALUE=' Nov' >November
67 <OPTION VALUE=' Dec' >December
71 <SELECT NAME=' date15_date' >
82 <OPTION VALUE=' 10' >10
83 <OPTION VALUE=' 11' >11
84 <OPTION VALUE=' 12' >12
85 <OPTION VALUE=' 13' >13
86 <OPTION VALUE=' 14' >14
87 <OPTION VALUE=' 15' >15
88 <OPTION VALUE=' 16' >16
89 <OPTION VALUE=' 17' >17
90 <OPTION VALUE=' 18' >18
91 <OPTION VALUE=' 19' >19
92 <OPTION VALUE=' 20' >20
93 <OPTION VALUE=' 21' >21
94 <OPTION VALUE=' 22' >22
95 <OPTION VALUE=' 23' >23
96 <OPTION VALUE=' 24' >24
97 <OPTION VALUE=' 25' >25
98 <OPTION VALUE=' 26' >26
99 <OPTION VALUE=' 27' >27
100 <OPTION VALUE=' 28' >28
101 <OPTION VALUE=' 29' >29
102 <OPTION VALUE=' 30' >30
103 <OPTION VALUE=' 31' >31
106 <SELECT NAME=' date15_year' >
108 <OPTION VALUE=' 2000' >2000
109 <OPTION VALUE=' 2001' >2001
110 <OPTION VALUE=' 2002' >2002
111 <OPTION VALUE=' 2003' >2003
112 <OPTION VALUE=' 2004' >2004
113 <OPTION VALUE=' 2005' >2005
114 <OPTION VALUE=' 2006' >2006
115 <OPTION VALUE=' 2007' >2007
119 <A HREF=' #' onClick=' cal15.showCalendar('anchor15',getDateString(document.forms[0].date15_year,document.forms[0].date15_month,document.forms[0].date15_date)); return false;' TITLE=' cal15.showCalendar('anchor15',getDateString(document.forms[0].date15_year,document.forms[0].date15_month,document.forms[0].date15_date)); return false;' NAME=' anchor15' ID=' anchor15' >Select Date</A>
124 <SELECT NAME=' date16_month' >
127 <OPTION VALUE=' Jan' >January
128 <OPTION VALUE=' Feb' >February
129 <OPTION VALUE=' Mar' >March
130 <OPTION VALUE=' Apr' >April
131 <OPTION VALUE=' May' >May
132 <OPTION VALUE=' Jun' >June
133 <OPTION VALUE=' Jul' >July
134 <OPTION VALUE=' Aug' >August
135 <OPTION VALUE=' Sep' >September
136 <OPTION VALUE=' Oct' >October
137 <OPTION VALUE=' Nov' >November
138 <OPTION VALUE=' Dec' >December
141 <SELECT NAME=' date16_date' >
143 <OPTION VALUE=' 1' >1
144 <OPTION VALUE=' 2' >2
145 <OPTION VALUE=' 3' >3
146 <OPTION VALUE=' 4' >4
147 <OPTION VALUE=' 5' >5
148 <OPTION VALUE=' 6' >6
149 <OPTION VALUE=' 7' >7
150 <OPTION VALUE=' 8' >8
151 <OPTION VALUE=' 9' >9
152 <OPTION VALUE=' 10' >10
153 <OPTION VALUE=' 11' >11
154 <OPTION VALUE=' 12' >12
155 <OPTION VALUE=' 13' >13
156 <OPTION VALUE=' 14' >14
157 <OPTION VALUE=' 15' >15
158 <OPTION VALUE=' 16' >16
159 <OPTION VALUE=' 17' >17
160 <OPTION VALUE=' 18' >18
161 <OPTION VALUE=' 19' >19
162 <OPTION VALUE=' 20' >20
163 <OPTION VALUE=' 21' >21
164 <OPTION VALUE=' 22' >22
165 <OPTION VALUE=' 23' >23
166 <OPTION VALUE=' 24' >24
167 <OPTION VALUE=' 25' >25
168 <OPTION VALUE=' 26' >26
169 <OPTION VALUE=' 27' >27
170 <OPTION VALUE=' 28' >28
171 <OPTION VALUE=' 29' >29
172 <OPTION VALUE=' 30' >30
173 <OPTION VALUE=' 31' >31
176 <SELECT NAME=' date16_year' >
178 <OPTION VALUE=' 2000' >2000
179 <OPTION VALUE=' 2001' >2001
180 <OPTION VALUE=' 2002' >2002
181 <OPTION VALUE=' 2003' >2003
182 <OPTION VALUE=' 2004' >2004
183 <OPTION VALUE=' 2005' >2005
184 <OPTION VALUE=' 2006' >2006
185 <OPTION VALUE=' 2007' >2007
188 <A HREF=' #' onClick=' var d=getDateString(document.forms[0].date16_year,document.forms[0].date16_month,document.forms[0].date16_date); cal16.showCalendar('anchor16',(d==null)?getDateString(document.forms[0].date15_year,document.forms[0].date15_month,document.forms[0].date15_date):d); return false;' TITLE=' var d=getDateString(document.forms[0].date16_year,document.forms[0].date16_month,document.forms[0].date16_date); cal16.showCalendar('anchor16',(d==null)?getDateString(document.forms[0].date15_year,document.forms[0].date15_month,document.forms[0].date15_date):d); return false;' NAME=' anchor16' ID=' anchor16' >Select Date</A>