﻿function func(){
	year=document.Zeller.year.value;
	month=document.Zeller.month.value;
	day=document.Zeller.day.value;
	strlink="http://imokoji.net/soft/zeller/zeller2.php?year="+year+"&month="+month+"&day="+day+"&time="+(new Date).getTime();
	showModalDialog(strlink,window,"status:true;dialgWidth:280px;dialogHeight:480px");

}
document.write('<center>');
document.write('誕生日入力');
document.write('<form name="Zeller" action="#">');
document.write('西暦<input type="text" name="year" maxlength="4" size="4"> 年<br>');
document.write('<SELECT name="month">');
document.write('<OPTION value="1" selected>1</OPTION>');
document.write('<OPTION value="2" >2</OPTION>');
document.write('<OPTION value="3" >3</OPTION>');
document.write('<OPTION value="4" >4</OPTION>');
document.write('<OPTION value="5" >5</OPTION>');
document.write('<OPTION value="6" >6</OPTION>');
document.write('<OPTION value="7" >7</OPTION>');
document.write('<OPTION value="8" >8</OPTION>');
document.write('<OPTION value="9" >9</OPTION>');
document.write('<OPTION value="10" >10</OPTION>');
document.write('<OPTION value="11" >11</OPTION>');
document.write('<OPTION value="12" >12</OPTION>');
document.write('</SELECT>月');
document.write('<SELECT name="day">');
document.write('<OPTION value="1" selected>1</OPTION>');
document.write('<OPTION value="2" >2</OPTION>');
document.write('<OPTION value="3" >3</OPTION>');
document.write('<OPTION value="4" >4</OPTION>');
document.write('<OPTION value="5" >5</OPTION>');
document.write('<OPTION value="6" >6</OPTION>');
document.write('<OPTION value="7" >7</OPTION>');
document.write('<OPTION value="8" >8</OPTION>');
document.write('<OPTION value="9" >9</OPTION>');
document.write('<OPTION value="10" >10</OPTION>');
document.write('<OPTION value="11" >11</OPTION>');
document.write('<OPTION value="12" >12</OPTION>');
document.write('<OPTION value="13" >13</OPTION>');
document.write('<OPTION value="14" >14</OPTION>');
document.write('<OPTION value="15" >15</OPTION>');
document.write('<OPTION value="16" >16</OPTION>');
document.write('<OPTION value="17" >17</OPTION>');
document.write('<OPTION value="18" >18</OPTION>');
document.write('<OPTION value="19" >19</OPTION>');
document.write('<OPTION value="20" >20</OPTION>');
document.write('<OPTION value="21" >21</OPTION>');
document.write('<OPTION value="22" >22</OPTION>');
document.write('<OPTION value="23" >23</OPTION>');
document.write('<OPTION value="24" >24</OPTION>');
document.write('<OPTION value="25" >25</OPTION>');
document.write('<OPTION value="26" >26</OPTION>');
document.write('<OPTION value="27" >27</OPTION>');
document.write('<OPTION value="28" >28</OPTION>');
document.write('<OPTION value="29" >29</OPTION>');
document.write('<OPTION value="30" >30</OPTION>');
document.write('<OPTION value="31" >31</OPTION>');
document.write('</SELECT>日<br>');
document.write('<INPUT type="button"  value="Check!" onclick="func()">');
document.write('</from>');
document.write('</center>');

