function Watch() {
now = new Date();
year = now.getYear();
month = now.getMonth()+1;
day = now.getDate();
hour = now.getHours();
minute = now.getMinutes();
second = now.getSeconds();
if (year < 1000) { year += 1900 }
if (hour < 10) { hour = '0' + hour }
if (minute < 10) { minute = '0' + minute }
if (second < 10) { second = '0' + second }
document.form.watch.value = year+'年' + month + '月' + day + '日 ' + hour + '時' + minute + '分' + second + '秒'; setTimeout("Watch()",1000); }
document.write('<FORM name=form><INPUT name=watch size=33></FORM>'); Watch();

sc_int=0;
function page_top(){
doc_sctop = document.body.scrollTop;
  if(doc_sctop > 250)
     sc_int=50;
  else
     sc_int = doc_sctop/5;
doc_sctop -= sc_int;
  if(sc_int < 1)
     doc_sctop=0;
scroll(0,doc_sctop);
if(doc_sctop > 0)
   setTimeout("page_top()",3);
}


function OpenWin(){
win=window.open("midi/midi.html","midi","toolbar=no,location=no,scrollbars=no,width=100,height=200");
}

