/*
maggot.load("form.js","date.js","tooltip.js");
maggot.ready(function(){
  maggot('#boardIndex a.boardTab').map(function(a,i){
    a.onmouseover = a.onfocus = function(){
      maggot('#boardIndex').className = 'boardIndex' + i;
    };
  });
  var cells = maggot('td','#main_cal');
  function renderCal(ym) {
    maggot.ajax.request("GET","cache_calendar.asp?bseq=9&ym="+ym,true,{},function(){
      var cals = eval("(" + this.responseText + ")");
      maggot('#current_cal').innerHTML = ym.substring(0,4) + ". " + parseInt(ym.slice(-2),10);
      maggot('#current_cal').href = "calendar.asp?ym=" + ym;
      for(var i = 0, dates = cals.dates; i < dates.length; i++) {
        if(dates[i].cnt == 0)
          cells[i].innerHTML = parseInt(dates[i].date.slice(-2),10);
        else
          cells[i].innerHTML = "<a href=\"calendar.asp?ym=" + dates[i].date.substring(0,6) + "\" title=\"" + dates[i].title + "\" onclick=\"window.open(this.href,'wndCalendar','width=660px,height=450px,resizable,status,scrollbars').focus();return false;\" onkeypress=\"pseudoClick(event);\">" + parseInt(dates[i].date.slice(-2),10) + "</a>";
      }
      maggot('a','#main_cal').map(function(a){maggot.tooltip(a);});
    });
  }
  maggot.attach('#prev_cal','onclick',function(e){
    var ym = maggot('#current_cal').innerHTML.split(".");
    ym[0] = ym[0].trim();
    ym[1] = ("00" + ym[1].trim()).slice(-2);
    renderCal(Date.from(ym.join("-") + "-01").addMonth(-1).format("yyyyMM"));
    return maggot.event(e).stop();
  });
  maggot.attach('#next_cal','onclick',function(e){
    var ym = maggot('#current_cal').innerHTML.split(".");
    ym[0] = ym[0].trim();
    ym[1] = ("00" + ym[1].trim()).slice(-2);
    renderCal(Date.from(ym.join("-") + "-01").addMonth(1).format("yyyyMM"));
    return maggot.event(e).stop();
  });
  maggot('a','#main_cal').map(function(a){maggot.tooltip(a);});
});
function pseudoClick(e) {
  e = maggot.event(e);
  if(e.keyCode != 13) return;
  if(e.target && e.target.onclick) {
    e.target.onclick();
  }
}
try {document.execCommad("BackgroundImageCache", false, true);}catch(e){}
*/