script.Append("$(function() {");
script.AppendFormat("$('#{0}').datepicker(", txt_Date.ClientID);
script.Append("{");
script.AppendFormat(@"showOn: 'button',buttonImage: '{0}',", "App_Themes/Default/CalendarImages/DatePicker.gif");
script.Append(@"buttonImageOnly: true,changeMonth: true,changeYear: true, showAnim: ''});});");