diff --git a/date_popup/date_popup.module b/date_popup/date_popup.module
index 3473569..5b516aa 100644
--- a/date_popup/date_popup.module
+++ b/date_popup/date_popup.module
@@ -217,6 +217,15 @@ function date_popup_theme() {
  *   The number of years to go back and forward in a year selector,
  *   default is -3:+3 (3 back and 3 forward).
  *
+ * #datepicker_options
+ *   An associative array representing the jQuery datepicker options you want
+ *   to set for this element. Use the jQuery datepicker option names as keys.
+ *   Hard coded defaults are:
+ *   - changeMonth => TRUE
+ *   - changeYear => TRUE
+ *   - autoPopUp => 'focus'
+ *   - closeAtTop => FALSE
+ *   - speed => 'immediate'
  */
 function date_popup_elements() {
   return array(
@@ -226,6 +235,7 @@ function date_popup_elements() {
       '#date_timezone' => date_default_timezone_name(),
       '#date_format' => variable_get('date_format_short', 'm/d/Y - H:i'),
       '#date_increment' => 1,
+      '#datepicker_options' =>array(),
       '#date_year_range' => '-3:+3',
       '#process' => array('date_popup_process'),
       ),
@@ -294,29 +304,32 @@ function date_popup_process_date(&$element, $edit = NULL, $date = NULL) {
   $range = date_range_years($element['#date_year_range'], $date);
   $year_range = date_range_string($range);
 
-  $settings = array(
-    'prevText' => '&laquo;',
-    'nextText' => '&raquo;',
-    'currentText' => date_t('Today', 'date_nav'),
+  //$settings = array(
+  // Add the dynamic datepicker options. Allow element-specific datepicker
+  // preferences to override these options for whatever reason they see fit.
+  $settings = $element['#datepicker_options'] + array(
+    //'prevText' => '&laquo;',
+    //'nextText' => '&raquo;',
+    //'currentText' => date_t('Today', 'date_nav'),
     'changeMonth' => TRUE,
     'changeYear' => TRUE,
-    'clearText' => t('Clear'),
-    'closeText' => t('Close'),
-    'firstDay' => intval(variable_get('date_first_day', 1)),
-    'dayNames' => date_week_days(TRUE),
-    'dayNamesShort' => date_week_days_abbr(TRUE, TRUE, 3),
-    'dayNamesMin' => date_week_days_abbr(TRUE, TRUE, 2),
-    'monthNames' => array_values(date_month_names(TRUE)),
-    'monthNamesShort' => array_values(date_month_names_abbr(TRUE)),
+    //'clearText' => t('Clear'),
+    //'closeText' => t('Close'),
+    //'firstDay' => intval(variable_get('date_first_day', 1)),
+    //'dayNames' => date_week_days(TRUE),
+    //'dayNamesShort' => date_week_days_abbr(TRUE, TRUE, 3),
+    //'dayNamesMin' => date_week_days_abbr(TRUE, TRUE, 2),
+    //'monthNames' => array_values(date_month_names(TRUE)),
+    //'monthNamesShort' => array_values(date_month_names_abbr(TRUE)),
     //'buttonImage' => base_path() . drupal_get_path('module', 'date_api') ."/images/calendar.png",
     //'buttonImageOnly' => TRUE,
     'autoPopUp' => 'focus',
     'closeAtTop' => FALSE,
     'speed' => 'immediate',
     'dateFormat' => date_popup_format_to_popup($date_format, 'datepicker'),
-    'yearRange' => $year_range,
+    //'yearRange' => $year_range,
     // Custom setting, will be expanded in Drupal.behaviors.date_popup()
-    'fromTo' => isset($fromto),
+    //'fromTo' => isset($fromto),
     );
 
   // Create a unique id for each set of custom settings.
