function getCurrentValue() {
				var ct = false, time;

				if (options.startDate) {
					ct = _xdsoft_datetime.strToDate(options.startDate);
				} else {
					ct = options.value || ((input && input.val && input.val()) ? input.val() : '');
					if (ct) {
						ct = _xdsoft_datetime.strToDateTime(ct);
						if (options.yearOffset) {
							ct = new Date(ct.getFullYear() - options.yearOffset, ct.getMonth(), ct.getDate(), ct.getHours(), ct.getMinutes(), ct.getSeconds(), ct.getMilliseconds());
						}
					} else if (options.defaultDate) {
						ct = _xdsoft_datetime.strToDateTime(options.defaultDate);
						if (options.defaultTime) {
							time = _xdsoft_datetime.strtotime(options.defaultTime);
							ct.setHours(time.getHours());
							ct.setMinutes(time.getMinutes());
						}
					}
				}

				if (ct && _xdsoft_datetime.isValidDate(ct)) {
					datetimepicker.data('changed', true);
				} else {
					ct = '';
				}

				return ct || 0;
			}
Fixes a bug which happens if:
 clicking prev/next while viewing a 6 week month adjusts the height of the calendar to less
 for the prev/next month with 5 only weeks, in which case **when the popup is above the input** by the
 time the mouseup event occurs the prev/next button is no longer underneath the mouse pointer, rather 
 whatever was behind the calendar popup, and if that whatever is also a disabled form element then
 the mouseup event is swallowed up and the prev/next repeat becomes an infinite loop.
 One solution is set a fixed height, so that the UI doesn't jump around for better UX when above.