");}else{jList.empty();jList.append(data.contents);editValue.find("input[name=offset]").val(data.offset);}},false);});}
function moveMonthCalendar(element,add){var jParts=getCalendarPartsFrame(element);var offset=jParts.find(".edit_value input[name=offset]");offset.val(parseInt(offset.val())+parseInt(add));getCalendarViewFromServer(jParts);}
function nextMonthCalendar(element){moveMonthCalendar(element,1);}
function prevMonthCalendar(element){moveMonthCalendar(element,-1);}
function getCalendarPartsFrame(element){return $(element).closest("div[class^=cal_]");}
//]]>