[r]
(1)Code lịch âm, dương
<script type="text/javascript" language="JavaScript" src=
"http://www.informatik.uni-leipzig.de/~duc/amlich/JavaScript/amlich-hnd.js"> </script>
<script language="JavaScript" type="text/javascript"> <! setOutputSize("small"); document.writeln(printSelectedMonth()); > </script><table> <tr> <td align="center">
<form name="SelectMonth" action="#amlich">Tháng <select name= "month"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option>
</select> <input type="button" value="Xem" onclick=
"javascript:viewMonth(parseInt(month.value), parseInt(year.value));"> <br>
Năm <input name="year" size="4" value="2005"> <input type="button" value="Xem" onclick= "javascript:viewYear(parseInt(year.value));"></form> </td> </tr> </table> <script type="text/javascript"> <! getSelectedMonth();
document.SelectMonth.month.value = currentMonth; document.SelectMonth.year.value = currentYear; function viewMonth(mm, yy) {
window.location = window.location.pathname + '?yy='+yy+'&mm='+mm+'#amlich'; }
function viewYear(yy) {
var loc = 'js/amlich-namnay.html?yy='+yy;
var win2702 = window.open(loc, "win2702", "menubar=yes,scrollbars=yes,resizable=yes"); }
(2)