<form name="form1" action="generate.php" method="post" target="_blank">
<script src="/demo/MyCalendar.js" language="JavaScript"></script>
<script language=javascript>
var dateFrom=new MyCalendar("datefrom","");
dateFrom.display();
</script>
<script language=javascript>
var dateFrom=new MyCalendar("dateto","");
dateFrom.display();
</script>
<br/>
<input type=submit value=提交>
</form>