code: function load(skip){
    if (!skip) {
      setConfig();
    }
  
    var now = new Date();
  
    var dt = format(now);
    var d = format(now, 'YYYY-MM-DD');
    var y = now.getFullYear();
    var m = now.getMonth() + 1;
  
    var els = document.getElementsByTagName('input');
    for(var i=0, len = els.length; i < len; i++) {
      var el = els[i];
      if (!el.value) {
        if (el.hasAttribute('y')) {
          el.value = y;
  
        } else if (el.hasAttribute('m')) {
          el.value = m;
  
        } else if (el.hasAttribute('dt')) {
          el.value = dt;
  
        } else if (el.hasAttribute('d')) {
          el.value = d;
        }
        calc({target: el});
      }
    }
  }
docs: 初期値の設定