monthPicker.update(buf.toString());
mpMonths = new CompositeElement(Util.toElementArray(monthPicker.select("td.x-date-mp-month")));
mpYears = new CompositeElement(Util.toElementArray(monthPicker.select("td.x-date-mp-year")));
mpMonths.each(new CompositeFunction() {
public void doFunction(Element elem, CompositeElement ce, int index) {
index += 1;
if (index % 2 == 0) {
elem.setPropertyInt("xmonth", (int) (5 + (Math.round(index * .5))));