rem: this.initTimeDiv(); 
add: this.initButtonsDiv(); 
context:   initFrame: function() {    that=this;    // create the divs    $w("top header body buttons footer bottom").each(function(name) {      eval(name + "_div = that." + name + "_div = that.calendar_div.build('div', { className: 'cds_"+name+"' }, { clear: 'left'} ); ");    });        this.initTimeDiv();    this.updateFooter("&nbsp;");    // make the header buttons    this.prev_month_button = header_div.build("a", { innerHTML: "&lt;", href:"#", onclick:function(){return false;}, className: "prev" });    this.next_month_button = header_div.build("a", { innerHTML: "&gt;", href:"#", onclick:function(){return false;}, className: "next" });    Event.observe(this.prev_month_button, 'mousedown', function () { this.navMonth(this.date.getMonth() - 1 ) }.bindAsEventListener(this));    Event.observe(this.next_month_button, 'mousedown', function () { this.navMonth(this.date.getMonth() + 1 ) }.bindAsEventListener(this));        if (this.options.month_year=="dropdowns") {      this.month_select = new SelectBox(header_div, $R(0,11).map(function(m){return [Date.months[m], m]}), {className: "month", onchange: function () { this.navMonth(this.month_select.getValue()) }.bindAsEventListener(this)});       this.year_select = new SelectBox(header_div, [], {className: "year", onchange: function () { this.navYear(this.year_select.getValue()) }.bindAsEventListener(this)});     } else {      this.month_year_label = header_div.build("span")    }        // build the calendar day grid    this.calendar_day_grid = [];    days_table = body_div.build("table", { cellPadding: "0px", cellSpacing: "0px", width: "100%" })    // make the weekdays!    weekdays_row = days_table.build("thead").build("tr");    Date.weekdays.each( function(weekday) {       weekdays_row.build("th", {innerHTML: weekday});    });        days_tbody = days_table.build("tbody")    // Make the days!    row_number=0    for(cell_index=0; cell_index<42; cell_index++)    {      weekday=(cell_index+Date.first_day_of_week ) % 7;      if ( cell_index % 7==0 ) days_row = days_tbody.build("tr", {className: 'row_'+row_number++});      (this.calendar_day_grid[cell_index] = days_row.build("td", {          calendar_date_select: this,          onmouseover: function () { this.calendar_date_select.dayHover(this); },          onmouseout: function () { this.calendar_date_select.dayHoverOut(this) },          onclick: function() { this.calendar_date_select.updateSelectedDate(this); },          className: (weekday==0) || (weekday==6) ? " weekend" : "" //clear the class        },        { cursor: "pointer" }      )).build("div");      this.calendar_day_grid[cell_index];    }    this.refresh();  },
meta: 9859	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9859/6b2167476e3cc84a0af815f4a0ffb8a1d6e29ca7/calendar_date_select.js/clean/public/javascripts/calendar_date_select/calendar_date_select.js