$(function(){$('#from_v').datepicker('option',$.extend({altField: "#from_h",altFormat: "yy-mm-dd"}));$('#from_v').datepicker($.extend({showOn: 'both',showMonthAfterYear: false,buttonImage: '/assets/style/img/calendar.gif',buttonImageOnly: true,dateFormat: "d MM,yy",altField: "#from_h",altFormat: "yy-mm-dd",constrainInput: true,duration: 'fast',firstDay: 1,minDate: '-1m',maxDate: '+1y'},$.datepicker.regional[lang=="en"?'' : lang]));$('#to_v').datepicker('option',$.extend({altField: "#to_h",altFormat: "yy-mm-dd"}));$('#to_v').datepicker($.extend({showOn: 'both',showMonthAfterYear: false,buttonImage: '/assets/style/img/calendar.gif',buttonImageOnly: true,dateFormat: "d MM,yy",altField: "#to_h",altFormat: "yy-mm-dd",constrainInput: true,duration: 'fast',firstDay: 1,minDate: '-1m',maxDate: '+1y'},$.datepicker.regional[lang=="en"?'' : lang]));});
