/* MaxMind Technologies */ var calendar_update_save = new Array('', ''); function calendar_update(client_id, package_id, unit_id, year, month, coupon_code, date_html_object, time_html_object, click_mode){ if ((!year) && (!month)){ year = calendar_update_save[0]; month = calendar_update_save[1]; } else calendar_update_save = new Array(year, month); if ($(date_html_object)){ var url = 'https://www.maxengine.eu/maxres/frontend.php?template=stonehammer&lang=en&mod=calendar&func=calendar_ajax_responder&client_id=' + client_id + '&package_id=' + package_id + '&unit_id=' + unit_id + '&year=' + year + '&month=' + month + '&coupon_code=' + coupon_code + '&date_html_object=' + date_html_object + '&time_html_object=' + time_html_object + '&click_mode=' + click_mode; new Ajax.Request(url, { method: 'POST', onSuccess: function(response){ $(date_html_object).update(response.responseText); } }); } } function calendar_time_update(client_id, package_id, unit_id, year, month, day, coupon_code, date_html_object, time_html_object, click_mode){ if ($(time_html_object)){ var url = 'https://www.maxengine.eu/maxres/frontend.php?template=stonehammer&lang=en&mod=calendar&func=calendar_ajax_time_responder&client_id=' + client_id + '&package_id=' + package_id + '&unit_id=' + unit_id + '&year=' + year + '&month=' + month + '&day=' + day + '&coupon_code=' + coupon_code + '&date_html_object=' + date_html_object + '&time_html_object=' + time_html_object + '&click_mode=' + click_mode; if (window.next_button_disabled) next_button_disabled(true); new Ajax.Request(url, { method: 'POST', onSuccess: function(response){ $(time_html_object).update(response.responseText); } }); } }