docs: function(input, date, onSelect, settings, pos) {
  		var id, browserWidth, browserHeight, scrollX, scrollY,
  			inst = this._dialogInst; // internal instance
  
  		if (!inst) {
  			this.uuid += 1;
  			id = "dp" + this.uuid;
  			this._dialogInput = $("<input type='text' id='" + id +
  				"' style='position: absolute; top: -100px; width: 0px;'/>");
  			this._dialogInput.keydown(this._doKeyDown);
  			$("body").append(this._dialogInput);
  			inst = this._dialogInst = this._newInst(this._dialogInput, false);
  			inst.settings = {};
  			$.data(this._dialogInput[0], "datepicker", inst);
  		}
  		datepicker_extendRemove(inst.settings, settings || {});
  		date = (date && date.constructor === Date ? this._formatDate(inst, date) : date);
  		this._dialogInput.val(date);
  
  		this._pos = (pos ? (pos.length ? pos : [pos.pageX, pos.pageY]) : null);
  		if (!this._pos) {
  			browserWidth = document.documentElement.clientWidth;
  			browserHeight = document.documentElement.clientHeight;
  			scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;
  			scrollY = document.documentElement.scrollTop || document.body.scrollTop;
  			this._pos = // should use actual width/height below
  				[(browserWidth / 2) - 100 + scrollX, (browserHeight / 2) - 150 + scrollY];
  		}
  
  		// move input on screen for focus, but hidden behind dialog
  		this._dialogInput.css("left", (this._pos[0] + 20) + "px").css("top", this._pos[1] + "px");
  		inst.settings.onSelect = onSelect;
  		this._inDialog = true;
  		this.dpDiv.addClass(this._dialogClass);
  		this._showDatepicker(this._dialogInput[0]);
  		if ($.blockUI) {
  			$.blockUI(this.dpDiv);
  		}
  		$.data(this._dialogInput[0], "datepicker", inst);
  		return this;
  	}