function dist(y, m, d){
 nd = new Date();
 dd = new Date(y, m, d);
 d = (nd.getTime() - dd.getTime())  * 3 / 1495978.70;
 if(d < 500){
  st = new String(d);
  return "<div>現在の地球との距離:" + st.substr(0, 7) + "AU</div><hr />";
 } else {
  return "";
 }
}
