function ibeWidgetSubmitFunction(options)
{
  document.getElementById("checkInDateField").value = options.checkinDate.getDate();
  document.getElementById("checkInMonthYearField").value = options.checkinDate.getMonth()+""+options.checkinDate.getFullYear();
  document.getElementById("checkOutDateField").value = options.checkoutDate.getDate();
  document.getElementById("checkOutMonthYearField").value = options.checkoutDate.getMonth()+""+options.checkoutDate.getFullYear();
  
  if (options.webTrendsCustomerDeliveredFlag == true)
  {
    try {
      dcsMultiTrack('DCSext.ecommercedelivery', 'Customers Delivered to Booking Engine', 'DCSext.ecommercecompleted', 'Customers Delivered to Booking Engine');
    } catch (err) {
      //don't do anything
    }
  }
  
  IBEWidgetAttachGoogleAnalyticsTrackingCookiesToAction(options.form);
}
