code: function(input) {
  		var showAnim, duration, postProcess, onClose,
  			inst = this._curInst;
  
  		if (!inst || (input && inst !== $.data(input, PROP_NAME))) {
  			return;
  		}
  
  		if (this._datepickerShowing) {
  			showAnim = this._get(inst, "showAnim");
  			duration = this._get(inst, "duration");
  			postProcess = function() {
  				$.datepicker._tidyDialog(inst);
  			};
  
  			// DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed
  			if ( $.effects && ( $.effects.effect[ showAnim ] || $.effects[ showAnim ] ) ) {
  				inst.dpDiv.hide(showAnim, $.datepicker._get(inst, "showOptions"), duration, postProcess);
  			} else {
  				inst.dpDiv[(showAnim === "slideDown" ? "slideUp" :
  					(showAnim === "fadeIn" ? "fadeOut" : "hide"))]((showAnim ? duration : null), postProcess);
  			}
  
  			if (!showAnim) {
  				postProcess();
  			}
  			this._datepickerShowing = false;
  
  			onClose = this._get(inst, "onClose");
  			if (onClose) {
  				onClose.apply((inst.input ? inst.input[0] : null), [(inst.input ? inst.input.val() : ""), inst]);
  			}
  
  			this._lastInput = null;
  			if (this._inDialog) {
  				this._dialogInput.css({ position: "absolute", left: "0", top: "-100px" });
  				if ($.blockUI) {
  					$.unblockUI();
  					$("body").append(this.dpDiv);
  				}
  			}
  			this._inDialog = false;
  		}
  	}
docs: /* Hide the date picker from view.
  @param  input  element - the input field attached to the date picker