summaryrefslogtreecommitdiff
path: root/engines/kokompe/temp/jquery.ui/datepicker/index.html
blob: dc4e9620d404bc25ff5a3d85ff93db6e8e790a88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- Include ui.datepicker.ent in the DOCTYPE declaration for valid XHTML documents with inline configuration -->

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<title>jQuery UI Datepicker</title>
<!--DEMO
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
		<meta name="description" content="jQuery UI Datepicker is a popup date picker built on the jQuery JavaScript library." />
		<meta name="author" content="Marc Grabanski" />
		<meta name="copyright" content="Copyright (c) 2005 Marc Grabanski" />
		<meta name="keywords" content="jquery datepicker, ui datepicker, jquery date picker, jquery calendar" />
		<link rel="stylesheet" type="text/css" href="../../css/style.css" />
		
		<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="../../css/ie6.css" /><![endif]--> 

		<!-- Include UI Datepicker CSS -->
		<link rel="stylesheet" type="text/css" href="core/ui.datepicker.css" title="default"/>
		
		<!-- Include Demo Stylesheets -->
		<link rel="stylesheet" type="text/css" href="demo/ui.datepicker.alt.css" title="alt" id="alt" disabled="disabled"/>
		<link rel="stylesheet" type="text/css" href="demo/ui.datepicker.demo.css" />

	</head>
	<body>
		<div id="wrap">
			<?php include '../main_nav.php' ?>
			<div id="header">
				<div>
					<h1>jQuery UI Datepicker v3.3</h1>
					<p class="caption">Written by <a href="/">Marc Grabanski</a> and <a href="http://keith-wood.name">Keith Wood</a>.</p>
				</div>
			</div>
			<?php $code_nav='ui-datepicker'; include '../code_nav.php' ?>
			<div id="content">
				<h2>jQuery UI Datepicker v3.3 Examples</h2>
				<ul id="tab_menu1" class="tabs">
					<li><a href="#default">Defaults</a></li>
					<li><a href="#invoke">Invocation</a></li>
					<li><a href="#keys">Keystrokes</a></li>
					<li><a href="#restrict">Restricting</a></li>
					<li><a href="#formats">Formats</a></li>
					<li><a href="#custom">Customize</a></li>
					<li><a href="#l10n">Localisation</a></li>
					<li style="clear: left;"><a href="#range">Date range</a></li>
					<li><a href="#misc1">Misc. 1</a></li>
					<li><a href="#misc2">Misc. 2</a></li>
					<li><a href="#change">Change Settings</a></li>
					<li><a href="#inline">Inline</a></li>
					<li><a href="#styles">Stylesheets</a></li>
					<li><a href="#compat">Compatibility</a></li>
				</ul>
				<div style="clear:left"></div>
				<div id="default" class="tab_group1 container">
					<h3>Defaults</h3>
					<p>A date picker can easily be added to an input field with default settings.</p>
					<p><span class="demoLabel">Default date picker:</span>
						<input type="text" size="30" value="click to show datepicker" id="defaultFocus"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#defaultFocus').attachDatepicker();	
</script>
					<p><span class="demoLabel">IE select issue:</span>
						<select><option>Show how the date picker covers a select in IE</option></select></p>
					<p>The defaults are:</p>
					<ul>
						<li>Date picker appears on focus</li>
						<li>Text is in English</li>
						<li>Date format is mm/dd/yyyy</li>
						<li><em>Clear</em>/<em>Close</em> controls show at the top</li>
						<li>Month and year are selectable directly</li>
						<li>10 years before and after the selected year are shown</li>
						<li>Show a single month</li>
						<li>Select a single date</li>
						<li>Week starts on Sunday</li>
						<li>Day names are clickable to change the first day of the week</li>
						<li>Days in other months are not displayed</li>
						<li>No date restrictions</li>
						<li>Clicking elsewhere closes the date picker</li>
					</ul>
					<p>Processed fields are marked with a class of <code>hasDatepicker</code>
						and are not re-processed if targetted a second time.</p>
					<p>You can override the default settings that apply to all date picker instances.</p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$.datepicker.setDefaults({showOn: 'both', buttonImageOnly: true,
	buttonImage: 'img/calendar.gif', buttonText: 'Calendar'});
</script>
				</div>
				<div id="invoke" class="tab_group1 container">
					<h3>Invocation</h3>
					<p>The date picker can be invoked in a variety of ways, as shown below.
						Also shown is the use of an image only trigger,
						and how the controls and buttons appear when disabled.</p>
					<p><span class="demoLabel">Datepicker appears on focus:</span>
						<input type="text" size="10" id="invokeFocus"/>
						<input type="button" id="enableFocus" value="Disable"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#invokeFocus').attachDatepicker({showOn: 'focus'});	
</script>
					<p><span class="demoLabel">Appears via text button:</span>
						<input type="text" size="10" id="invokeButton"/>
						<input type="button" id="enableButton" value="Disable"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#invokeButton').attachDatepicker({showOn: 'button', buttonText: '...',
	buttonImage: '', buttonImageOnly: false});
</script>
					<p style="clear:both"><span class="demoLabel">Appears both ways:</span>
						<input type="text" size="10" class="invokeBoth"/>
						<input type="button" id="enableBoth" value="Disable"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('.invokeBoth').attachDatepicker({showOn: 'both', buttonImage: 'img/calendar.gif', buttonImageOnly: true});
</script>
					<p>You can embed the trigger image within the input area via CSS.</p>
					<p style="clear:both"><span class="demoLabel">Embedded button:</span>
						<input type="text" size="10" id="embedButton"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#embedButton').attachDatepicker({showOn: 'button', buttonImage: 'img/calendar.gif', buttonImageOnly: true});

// CSS
// #embedButton + img { position: relative; left: -21px; top: -1px; }
</script>
					<p>Enable and disable datepicker with enableFor and disableFor.</p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#enableFocus').toggle(
	function () { this.value = 'Enable'; $('#invokeFocus').disableDatepicker(); },
	function () { this.value = 'Disable'; $('#invokeFocus').enableDatepicker(); });
$('#enableButton').toggle(
	function () { this.value = 'Enable'; $('#invokeButton').disableDatepicker(); },
	function () { this.value = 'Disable'; $('#invokeButton').enableDatepicker(); });
$('#enableBoth').toggle(
	function () { this.value = 'Enable'; $('.invokeBoth:first').disableDatepicker(); },
	function () { this.value = 'Disable'; $('.invokeBoth:first').enableDatepicker(); });
</script>
					<p>The date picker can also be triggered externally for a particular input.</p>
					<p><span class="demoLabel">External trigger:</span>
						<button id="button1">Open date picker</button></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#button1').click(function() { 
	$('#invokeFocus').showDatepicker();
});	
</script>	
					<p>Or even opened as a "dialog". If the <em>blockUI</em> plugin is available,
						it is used to create a modal dialog.</p>
					<p><span class="demoLabel">Date picker dialog:</span>
						<input type="text" size="10" id="invokeDialog" readonly="readonly"/>
						<button id="button2">Open dialog</button></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#button2').click(function() { 
	$.datepicker.dialogDatepicker($('#invokeDialog').val(),
	setDateFromDialog, {prompt: 'Choose a date', speed: ''});
});	

// Display a date selected in a "dialog"
function setDateFromDialog(date) {
	$('#invokeDialog').val(date);
}
</script>	
				</div>
				<div id="keys" class="tab_group1 container">
					<h3>Keystrokes</h3>
					<p>The date picker also responds to keystrokes entered in the input field.</p>
					<p><span class="demoLabel">Keyboard driven:</span>
						<input type="text" size="10" class="invokeBoth"/></p>
					<p>The relevant keystrokes are:</p>
					<ul>
						<li><span class="demoLabel">page up/down</span>previous/next month</li>
						<li><span class="demoLabel">ctrl+page up/down</span>previous/next year</li>
						<li><span class="demoLabel">ctrl+home</span>current month or open when closed</li>
						<li><span class="demoLabel">ctrl+left/right</span>previous/next day</li>
						<li><span class="demoLabel">ctrl+up/down</span>previous/next week</li>
						<li><span class="demoLabel">enter</span>accept the selected date</li>
						<li><span class="demoLabel">ctrl+end</span>close and erase the date</li>
						<li><span class="demoLabel">escape</span>close the date picker without selection</li>
					</ul>
				</div>
				<div id="restrict" class="tab_group1 container">
					<h3>Restricting</h3>
					<p>You can restrict the functionality of the date picker in various ways.
						The first example sets the first day of the week to Monday and prevents it from being
						changed, as well as preventing the month and year from being selected directly.</p>
					<p><span class="demoLabel">Restricted functionality:</span>
						<input type="text" size="10" id="restrictControls"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#restrictControls').attachDatepicker({firstDay: 1, changeFirstDay: false,
	changeMonth: false, changeYear: false});
</script>
					<p>You can also limit the range of dates selectable within the date picker.
						Here it's between 26-Jan-05 and 26-Jan-07.</p>
					<p><span class="demoLabel">Limited dates:</span>
						<input type="text" size="10" id="restrictDates"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#restrictDates').attachDatepicker({minDate: new Date(2005, 1 - 1, 26),
	maxDate: new Date(2007, 1 - 1, 26)});
</script>
					<p>Or set a range relative to today by specifying a number
						rather than an exact date, in this case in the coming year.</p>
					<p><span class="demoLabel">Limited dates (relative):</span>
						<input type="text" size="10" id="relativeDates"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#relativeDates').attachDatepicker({minDate: 0, maxDate: 365});
</script>
					<p>The relative dates can also be specified as a number and a period -
						'd' for days, 'w' for weeks, 'm' for months, or 'y' for years.</p>
					<p><span class="demoLabel">Limited dates (extended):</span>
						<input type="text" size="10" id="extendedDates"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#extendedDates').attachDatepicker({minDate: '-1d', maxDate: '6y'});
</script>
					<p>Note that the range of selectable months and years changes appropriately. Also,
						note that the <em>Today</em> link is no longer available as today is not in the range.
						By default, the <em>Prev</em> and <em>Next</em> links are disabled if they are not
						applicable. You can override this to remove them instead, with the
						<code>hideIfNoPrevNext</code> setting.</p>
				</div>
				<div id="formats" class="tab_group1 container">
					<h3>Date Formats</h3>
					<p>You can set a variety of date formats for the date picker,
						with the default being 'mm/dd/yy'.</p>
					<p><span class="demoLabel">Medium format:</span>
						<input type="text" size="10" id="mediumFormat"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#mediumFormat').attachDatepicker({dateFormat: 'M d, yy'});
</script>
					<p><span class="demoLabel">Long format:</span>
						<input type="text" size="20" id="longFormat"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#longFormat').attachDatepicker({dateFormat: 'MM d, yy'});
</script>
					<p><span class="demoLabel">Full format:</span>
						<input type="text" size="30" id="fullFormat"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#fullFormat').attachDatepicker({dateFormat: 'DD, MM d, yy'});
</script>
					<p>Display dates without the century. The century is then determined based on the
						<code>shortYearCutoff</code> setting, which defaults to 10 years in the future ('+10').
						Year values less than or equal to this cutoff are interpreted as being in the current
						century, while those greater than the cutoff are taken to be in the previous century.</p>
					<p><span class="demoLabel">No century:</span>
						<input type="text" size="10" id="noCentury"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#noCentury').attachDatepicker({dateFormat: 'dd/mm/y'});
</script>
					<p><span class="demoLabel">ISO date format:</span>
						<input type="text" size="10" id="isoFormat"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#isoFormat').attachDatepicker({dateFormat: 'yy-mm-dd'});
</script>
					<p><span class="demoLabel">French full format:</span>
						<input type="text" size="30" id="frFullFormat"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#frFullFormat').attachDatepicker($.datepicker.regional['fr']);
$('#frFullFormat').changeDatepicker({dateFormat: 'DD, MM d, yy'});
</script>
					<p>The formatting codes are:</p>
					<ul>
						<li><span class="demoLabel">d</span>day of month (no leading zero)</li>
						<li><span class="demoLabel">dd</span>day of month (two digit)</li>
						<li><span class="demoLabel">D</span>day name short</li>
						<li><span class="demoLabel">DD</span>day name long</li>
						<li><span class="demoLabel">m</span>month of year (no leading zero)</li>
						<li><span class="demoLabel">mm</span>month of year (two digit)</li>
						<li><span class="demoLabel">M</span>month name short</li>
						<li><span class="demoLabel">MM</span>month name long</li>
						<li><span class="demoLabel">y</span>year (two digit)</li>
						<li><span class="demoLabel">yy</span>year (four digit)</li>
						<li><span class="demoLabel">'...'</span>literal text</li>
						<li><span class="demoLabel">''</span>single quote</li>
					</ul>
				</div>
				<div id="custom" class="tab_group1 container">
					<h3>Customize</h3>
					<p>You can customize the selectability and/or appearance of individual days
						by setting a callback function that accepts a date and returns an array
						with the first entry being true/false for selectability and the second
						entry being a CSS class to apply (or '' for none). One appropriate
						function is built-in that prevents the selection of days on weekends.</p>
					<p><span class="demoLabel">No weekends:</span>
						<input type="text" size="10" id="noWeekends"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#noWeekends').attachDatepicker({beforeShowDay: $.datepicker.noWeekends});
</script>
					<p>Or you can provide your own function. The one below highlights and
						prevents selection of a set of national days.</p>
					<p><span class="demoLabel">National days:</span>
						<input type="text" size="10" id="nationalDays"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#nationalDays').attachDatepicker({beforeShowDay: nationalDays});

// Highlight certain national days on the calendar
var natDays = [[1, 26, 'au'], [2, 6, 'nz'], [3, 17, 'ie'], [4, 27, 'za'], [5, 25, 'ar'], [6, 6, 'se'],
	[7, 4, 'us'], [8, 17, 'id'], [9, 7, 'br'], [10, 1, 'cn'], [11, 22, 'lb'], [12, 12, 'ke']];

function nationalDays(date) {
	for (i = 0; i < natDays.length; i++) {
		if (date.getMonth() == natDays[i][0] - 1 && date.getDate() == natDays[i][1]) {
			return [false, natDays[i][2] + '_day'];
		}
	}
	return [true, ''];
}
</script>
					<p>With CSS like the following:</p>
<pre><code>.au_day { color: blue !important; background: #eee url(au.gif) no-repeat center !important; }</code></pre>
				</div>
				<div id="l10n" class="tab_group1 container">
					<h3>Localisation</h3>
					<p>You can localise the date picker for other languages and regional differences.
						The date picker defaults to English with a date format of MM/DD/YYYY,
						but you can easily translate the text into another language and date format.</p>
					<p><span class="demoLabel">
						<select class="languageSelect">
							<option value="zh-CN">&#31616;&#20307;&#20013;&#25991; (Chinese Simplified)</option>
							<option value="zh-TW">&#31777;&#39636;&#20013;&#25991; (Chinese Traditional)</option>
							<option value="ca">Catal&agrave; (Catalan)</option>
							<option value="cs">&#268;e&#353;tina (Czech)</option>
							<option value="da">Dansk (Danish)</option>
							<option value="de">Deutsch (German)</option>
							<option value="es">Espa&ntilde;ol (Spanish)</option>
							<option value="fr" selected="selected">Fran&ccedil;ais (French)</option>
							<option value="ko">&#54620;&#44397;&#50612; (Korean)</option>
							<option value="is">&Iacute;slenska (Icelandic)</option>
							<option value="it">Italiano (Italian)</option>
							<option value="hu">Magyar (Hungarian)</option>
							<option value="nl">Nederlands (Dutch)</option>
							<option value="ja">&#26085;&#26412;&#35486; (Japanese)</option>
							<option value="no">Norsk (Norwegian)</option>
							<option value="th">Phasa thai (Thai)</option>
							<option value="pl">Polski (Polish)</option>
							<option value="pt-BR">Portugu&ecirc;s (Portuguese)</option>
							<option value="ro">Rom&acirc;n&#259; (Romanian)</option>
							<option value="ru">&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081; (Russian)</option>
							<option value="sk">Sloven&#269;ina (Slovak)</option>
							<option value="sv">Svenska (Swedish)</option>
							<option value="tr">T&uuml;rk&ccedil;e (Turkish)</option>
						</select>:</span>
						<input type="text" size="10" id="l10nDatepicker"/></p>
					<p>The presentation is slightly different for right-to-left languages.</p>
					<p><span class="demoLabel">
						<select class="languageSelect">
							<option value="he" selected="selected">&#1506;&#1489;&#1512;&#1497;&#1514; (Hebrew)</option>
						</select>:</span>
						<input type="text" size="10" id="rtlDatepicker"/></p>
					<p>You need to load the appropriate language package, which
						adds a language set ($.datepicker.regional[langCode]) and
						automatically sets this language as the default for all date pickers.</p>
<pre><code class="html">&lt;script type="text/javascript" src="ui.datepicker-fr.js">&lt;/script></code></pre>
					<p>Thereafter, if desired, you can restore the original language settings.</p>
<pre><code class="javascript">$.datepicker.setDefaults($.datepicker.regional['']);</code></pre>
					<p>And then configure the language per date picker instance.</p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#l10nDatepicker').attachDatepicker($.extend({showStatus: true}, $.datepicker.regional['fr']));
$('#rtlDatepicker').attachDatepicker($.extend({showStatus: true}, $.datepicker.regional['he']));
</script>
					<p><strong>Localisation packages:</strong></p>
					<p>Localisation packages can be found below under <a href="#documentation">Settings and Documentation</a>.</p>
				</div>
				<div id="range" class="tab_group1 container">
					<h3>Date Range</h3>
					<p>Use a custom field settings function to create a date range control:
						two date fields, each restricting the other. The function takes an
						input field as an argument and returns a settings object (anonymous).</p>
					<p><span class="demoLabel">Date range:</span>
						<input type="text" size="10" class="dateRange" id="dFrom"/> to
						<input type="text" size="10" class="dateRange" id="dTo"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('.dateRange').attachDatepicker({beforeShow: customRange});

// Customize two date pickers to work as a date range
function customRange(input) {
	return {minDate: (input.id == 'dTo' ? $('#dFrom').getDatepickerDate() : null),
		maxDate: (input.id == 'dFrom' ? $('#dTo').getDatepickerDate() : null)};
}
</script>
					<p>Select a date range on one date picker, first click is the start date and second click is the end date.
						The last example show six months in two rows of three months
						with <i>Previous</i> and <i>Next</i> moving three months at a time.</p>
					<p><span class="demoLabel">Date range:</span>
						<input type="text" size="25" id="rangeSelect"/></p>

<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#rangeSelect').attachDatepicker({rangeSelect: true});
</script>
					<p><span class="demoLabel">Two months with range select:</span>
						<input type="text" size="25" id="rangeSelect2Months"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#rangeSelect2Months').attachDatepicker({rangeSelect: true, numberOfMonths: 2});
</script>
					<p><span class="demoLabel">Six months with range select:</span>
						<input type="text" size="25" id="rangeSelect6Months"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#rangeSelect6Months').attachDatepicker({rangeSelect: true, numberOfMonths: [2, 3],
	stepMonths: 3, prevText: '&lt;&lt; Previous Months', nextText: 'Next Months &gt;&gt;'});
</script>
				</div>
				<div id="misc1" class="tab_group1 container">
					<h3>Miscellaneous 1</h3>
					<p>Set the date shown when first opening the date picker. The default is today.</p>
					<p><span class="demoLabel">Open at 01-Jan-2007:</span>
						<input type="text" size="10" id="openDateJan01"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#openDateJan01').attachDatepicker({defaultDate: new Date(2007, 1 - 1, 1)});
</script>
					<p><span class="demoLabel">Open at 7 days from today:</span>
						<input type="text" size="10" id="openDatePlus7"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#openDatePlus7').attachDatepicker({defaultDate: +7});
</script>
					<p>Or specify a period from today - 'd' for days,
						'w' for weeks, 'm' for months, or 'y' for years.</span>
					<p><span class="demoLabel">Open at 2 weeks from today:</span>
						<input type="text" size="10" id="openDate2Weeks"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#openDate2Weeks').attachDatepicker({defaultDate: '2w'});
</script>
					<p>Show the weeks of the year. Defaults to the ISO 8601 definition (weeks start 
						on Mondays and the first week of the year contains January 4). Change the 
						week calculation by setting <code>calculateWeek</code> to a function that 
						takes a date as a parameter and returns the number of the week.</p>
					<p><span class="demoLabel">Show week of the year:</span>
						<input type="text" size="10" id="showWeeks"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#showWeeks').attachDatepicker({showWeeks: true, firstDay: 1, changeFirstDay: false, showOtherMonths: true});
</script>
					<p>Additional settings let you move the <em>Clear</em>/<em>Close</em> controls
						to the bottom, hide the <em>Clear</em> control to make the date mandatory,
						display the days in other months (non-selectable),
						and show a status bar (with a custom display for today).
						A callback function is also added to operate when a date is selected.
						If no callback is specified, the <code>onchange</code> event of the
						input field is triggered.</p>
					<p><span class="demoLabel">Additional settings:</span>
						<input type="text" size="10" id="addSettings"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#addSettings').attachDatepicker({
	closeAtTop: false, 
	mandatory: true,
	showOtherMonths: true, 
	showStatus: true,
	statusForDate: highlightToday,
	onSelect: alertDate // invoke alertDate function
});

// Demonstrate the callback on select
function alertDate(date) {
	alert('The date is ' + date);
}

// Demonstrate the callback for date status
function highlightToday(date, inst) {
	var today = new Date();
	today = new Date(today.getFullYear(), today.getMonth(), today.getDate());
	return $.datepicker.dateStatus(date, inst) +
		(today.getTime() == date.getTime() ? ' (today)' : '');
}
</script>
				</div>
				<div id="misc2" class="tab_group1 container">
					<h3>Miscellaneous 2</h3>
					<p>Remove the datepicker if you've finished with it.</p>
					<p><span class="demoLabel">Remove popup datepicker:</span>
						<input type="text" size="10" class="removeDatepicker"/><button id="removeButton">Remove</button></p>
					<p><span class="demoLabel">Remove inline datepicker:</span>
						<span class="removeDatepicker"></span></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
var opts = {beforeShowDay: $.datepicker.noWeekends};
$('.removeDatepicker').attachDatepicker(opts);
$('#removeButton').toggle(function() {
		$(this).text('Re-attach');
		$('.removeDatepicker').removeDatepicker();
	},
	function() {
		$(this).text('Remove');
		$('.removeDatepicker').attachDatepicker(opts);
	}
);
</script>
					<p><strong>(Advanced Technique)</strong><br />Connect the date picker to linked drop-downs. You still need an input field,
						but it is hidden following the drop-downs.</p>
					<p><span class="demoLabel">Linked drop-downs:</span>
						<select id="selectMonth"><option value="01">Jan</option><option value="02">Feb</option>
							<option value="03">Mar</option><option value="04">Apr</option>
							<option value="05">May</option><option value="06">Jun</option>
							<option value="07">Jul</option><option value="08">Aug</option>
							<option value="09">Sep</option><option value="10">Oct</option>
							<option value="11">Nov</option><option value="12">Dec</option></select>
						<select id="selectDay"><option value="01">1</option><option value="02">2</option>
							<option value="03">3</option><option value="04">4</option>
							<option value="05">5</option><option value="06">6</option>
							<option value="07">7</option><option value="08">8</option>
							<option value="09">9</option><option value="10">10</option>
							<option value="11">11</option><option value="12">12</option>
							<option value="13">13</option><option value="14">14</option>
							<option value="15">15</option><option value="16">16</option>
							<option value="17">17</option><option value="18">18</option>
							<option value="19">19</option><option value="20">20</option>
							<option value="21">21</option><option value="22">22</option>
							<option value="23">23</option><option value="24">24</option>
							<option value="25">25</option><option value="26">26</option>
							<option value="27">27</option><option value="28">28</option>
							<option value="29">29</option><option value="30">30</option>
							<option value="31">31</option></select>
						<select id="selectYear"><option value="2001">2001</option><option value="2002">2002</option>
							<option value="2003">2003</option><option value="2004">2004</option>
							<option value="2005">2005</option><option value="2006">2006</option>
							<option value="2007">2007</option><option value="2008">2008</option>
							<option value="2009">2009</option><option value="2010">2010</option></select>
						<input type="hidden" size="10" id="linkedDates" disabled="disabled"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#linkedDates').attachDatepicker({
	minDate: new Date(2001, 1 - 1, 1), 
	maxDate: new Date(2010, 12 - 1, 31), 
	beforeShow: readLinked,	
	onSelect: updateLinked
});

// Prepare to show a date picker linked to three select controls
function readLinked() {
	$('#linkedDates').val(
		$('#selectMonth').val() + '/' +
		$('#selectDay').val() + '/' + 
		$('#selectYear').val()
	);
	return {};
}

// Update three select controls to match a date picker selection
function updateLinked(date) {
	$('#selectMonth').val(date.substring(0, 2));
	$('#selectDay').val(date.substring(3, 5));
	$('#selectYear').val(date.substring(6, 10));
}

$('#selectMonth, #selectYear').change(checkLinkedDays);

// Prevent selection of invalid dates through the select controls
function checkLinkedDays() {
	var daysInMonth = 32 - new Date($('#selectYear').val(),
		$('#selectMonth').val() - 1, 32).getDate();
		$('#selectDay option').attr('disabled', '');
		$('#selectDay option:gt(' + (daysInMonth - 1) +')').attr('disabled', 'disabled');
	if ($('#selectDay').val() > daysInMonth) {
		$('#selectDay').val(daysInMonth);
	}
}
</script>
				</div>
				<div id="change" class="tab_group1 container">
					<h3>Changing Settings</h3>
					<p>If necessary, the datepicker settings for an input (or set of inputs) 
						can be changed on the fly. As an example, here we change the 
						animation and speed at which the datepicker appears.</p>
					<p><span class="demoLabel">Display animation and speed:</span>
						<select id="animSelector">
							<option value="show">show</option>
							<option value="fadeIn">fade in</option>
							<option value="slideDown">slide down</option>
						</select>
						<select id="speedSelector">
							<option value="">immediate</option>
							<option value="slow">slow</option>
							<option value="medium" selected="selected">medium</option>
							<option value="fast">fast</option>
						</select>
					</p>
					<p><span class="demoLabel">Change datepicker:</span>
						<input type="text" size="10" id="changeDP"/></p>
					<p>When the option in the select changes, the following function is called:</p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#changeDP').attachDatepicker();
// Change the datepicker to selected speed.
$("#animSelector,#speedSelector").change(function() {
	$('#changeDP').changeDatepicker({'showAnim': $('#animSelector').val(),
		'speed': $('#speedSelector').val()});
});
</script>
					<p>Date pickers can also be configured inline.
						Add attributes to the input control with the namespace "date:"
						corresponding to the date picker properties.
						The attribute values are evaluated as JavaScript.</p>
					<p><span class="demoLabel">Inline configuration 1:</span>
						<input type="text" size="10" class="inlineConfig" onchange="showDay(this);"
							date:closeAtTop="false" date:firstDay="1" date:appendText="which is a"/>
						<span id="inlineDay">blank</span></p>
					<p><span class="demoLabel">Inline configuration 2:</span>
						<input type="text" size="10" class="inlineConfig"
							date:minDate="new Date(2007, 1 - 1, 1)" date:maxDate="new Date(2007, 12 - 1, 31)"/></p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
/* HTML Markup for inline configuration

Example #1:
&lt;input type="text" size="10" class="inlineConfig" onchange="showDay(this);"
	date:closeAtTop="false" date:firstDay="1" date:appendText="which is a" />

Example #2:
&lt;input type="text" size="10" class="inlineConfig"
	date:minDate="new Date(2007, 1 - 1, 1)" date:maxDate="new Date(2007, 12 - 1, 31)"/> 
*/

// Invoke inline configured datepickers
$('.inlineConfig').attachDatepicker();
</script>
				</div>
				<div id="inline" class="tab_group1 container">
					<h3>Inline</h3>
					<p>The date picker can be used inline rather than as a popup.
						Use inline mode by attaching the datepicker to a span or div element.</p>
					<span id="inlineDemo"></span>
					<div style="clear:both;height:1em"></div>
<script type="text/jsdemo" charset="utf-8" class="demojs">
// HTML &lt;span id="inlineDemo">&lt;/span>
$('#inlineDemo').attachDatepicker({
	onSelect: function(date) {
		alert(date);
	}
});
</script>
					<p>Show a number of months at once and set the range directly.</p>
					<p>Inline range with two months:</p>
					<div style="clear: both">
						<span id="rangeInline"></span>
					</div>
					<p style="clear: both; padding-top: 0.5em;">
						<span>Selected range is:</span>&nbsp;&nbsp;
						<input type="text" size="25" id="inlineRange" readonly="readonly"/>
					</p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#rangeInline').attachDatepicker({rangeSelect: true, rangeSeparator: ' to ',
	numberOfMonths: 2, onSelect: updateInlineRange});
$('#rangeInline').find('div:first').width(370); // Unfortunately not automatic

// Display the date range from a multi-month inline date picker
function updateInlineRange(dateStr) {
	var dates = $('#rangeInline').getDatepickerDate();
	var dateFormat = $.datepicker.regional[''].dateFormat;
	$('#inlineRange').val(dateStr ? dateStr :
		$.datepicker.formatDate(dateFormat, dates[0]) + ' to ' +
		$.datepicker.formatDate(dateFormat, dates[1]));
}
</script>
					<p><strong>(Advanced Technique)</strong><br />
						Set initial value of inline date range to one week before and after today's date.
						Set the text field to current selected date.</p>
					<p>
						<button type="button" id="setInlineRange">Set Inline Range to +and- one week</button>
					</p>
<script type="text/jsdemo" charset="utf-8" class="demojs">
var nextWeek = new Date();
nextWeek.setDate(nextWeek.getDate() + 7);
	
var lastWeek = new Date();
lastWeek.setDate(lastWeek.getDate() - 7);

$("#setInlineRange").click(function() {
	// Set Inline Date Range Selection
	$('#rangeInline').setDatepickerDate(lastWeek, nextWeek);
	
	// Update text field with current date selections
	var dates = $('#rangeInline').getDatepickerDate();
	var dateFormat = $.datepicker.regional[''].dateFormat;
	$('#inlineRange').val($.datepicker.formatDate(dateFormat, dates[0]) + ' to ' +
		$.datepicker.formatDate(dateFormat, dates[1]));
});
</script>
				</div>
				<div id="styles" class="tab_group1 container">
					<h3>Stylesheets</h3>
					<p>The date picker can be formatted through the use of a stylesheet.
						The default stylesheet is used in the rest of this demo
						with an alternate one used here.</p>
					<p><span class="demoLabel">Alternate style:</span>
						<input type="text" size="10" id="altStyle"/></p>
					<p><span class="demoLabel">In a dialog:</span>
						<input type="text" size="10" id="altDialog" readonly="readonly"/>
						<button id="button3">Open dialog</button></p>
					<p>The basic HTML structure of the date picker is shown below:</p>
<pre><code class="html">&lt;div id="datepicker_div" class="datepicker_multi">
  &lt;div class="datepicker_control">
    &lt;div class="datepicker_clear">&lt;a>Clear&lt;/a>&lt;/div>
    &lt;div class="datepicker_close">&lt;a>Close&lt;/a>&lt;/div>
  &lt;/div>
  &lt;div class="datepicker_links">
    &lt;div class="datepicker_prev">&lt;a>&amp;lt;Prev&lt;/a>&lt;/div>
    &lt;div class="datepicker_current">&lt;a>Today&lt;/a>&lt;/div>
    &lt;div class="datepicker_next">&lt;a>Next&amp;gt;&lt;/a>&lt;/div>
  &lt;/div>
  &lt;div class="datepicker_oneMonth datepicker_newRow">
    &lt;div class="datepicker_header">
      &lt;select class="datepicker_newMonth">&lt;/select>
      &lt;select class="datepicker_newYear">&lt;/select>
    &lt;/div>
    &lt;table class="datepicker" cellpadding="0" cellspacing="0">
      &lt;thead>
        &lt;tr class="datepicker_titleRow">
          &lt;td>&lt;a>Su&lt;/a>&lt;/td>&lt;td>&lt;a>Mo&lt;/a>&lt;/td>...
        &lt;/tr>
      &lt;/thead>
      &lt;tbody>
        &lt;tr class="datepicker_daysRow">
          &lt;td class="datepicker_daysCell datepicker_weekEndCell
            datepicker_otherMonth datepicker_unselectable">31&lt;/td>
          &lt;td class="datepicker_daysCell">&lt;a>1&lt;/a>&lt;/td>
          &lt;td class="datepicker_daysCell datepicker_daysCellOver">&lt;a>2&lt;/a>&lt;/td>
          &lt;td class="datepicker_daysCell datepicker_daysCellOver datepicker_currentDay">&lt;a>3&lt;/a>&lt;/td>
          &lt;td class="datepicker_daysCell datepicker_today">&lt;a>4&lt;/a>&lt;/td>
          ...
        &lt;/tr>
        ...
      &lt;/tbody>
    &lt;/table>
  &lt;/div>
  &lt;div class="datepicker_oneMonth">
    ...
  &lt;/div>
  &lt;div style="clear: both;">&lt;/div>
&lt;/div></code></pre>
				</div>
				<div id="compat" class="tab_group1 container">
					<h3>Compatibility</h3>
					<h4>v2.x to v3.3</h4>
					<p>The date picker has been refactored to better fit
						within the <a href="http://ui.jquery.com">jQuery UI</a> project.
						This has involved renaming the main function and some properties,
						resulting in current uses of the plugin no longer functioning correctly.
						To assist in the transition to the new format a compatibility
						plugin is also provided, allowing current code to continue
						to operate with minimal changes.</p>
					<p>Existing users of v2 of the calendar should use the following
						header code to work with their existing implementation:</p>
<pre><code class="html">&lt;link rel="stylesheet" type="text/css" href="<b>ui.datepicker.css</b>"/&gt;
&lt;script type="text/javascript" src="<b>ui.datepicker.js</b>"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="<b>jquery-calendar-compatibility.js</b>"&gt;&lt;/script&gt;</code></pre>
					<p>Download the <a href="compatibility/jquery-calendar-compatibility.js" target="_blank">jquery-calendar-compatibility.js</a> module.</p>
					<p>To migrate fully, the following steps need to be taken:</p>
					<ul>
						<li>Replace references to the <code>jquery-calendar*</code>
							files with <code>ui.datepicker*</code>.</li>
						<li>Replace references to the <code>popUpCal</code>
							object with <code>$.datepicker</code>.</li>
						<li>Replace references to the <code>calendar</code>
							function with <code>attachDatepicker</code>.</li>
						<li>Replace references to the <code>autoPopUp</code>
							setting with <code>showOn</code>.</li>
						<li>Replace references to the <code>fieldSettings</code>
							setting with <code>beforeShow</code>.</li>
						<li>Replace references to the <code>customDate</code>
							setting with <code>beforeShowDay</code>.</li>
						<li>Replace references to inline attributes with the <code>cal:</code>
							namespace with <code>date:</code>.</li>
						<li>Replace references to the <code>hideCalendar</code>
							function with <code>hideDatepicker</code>.</li>
						<li>Replace references to the <code>dialogCalendar</code>
							function with <code>dialogDatepicker</code>.</li>
						<li>Replace references to the <code>$.datepicker.reconfigureFor(selector, ...)</code>
							function with <code>$(selector).changeDatepicker(...)</code>.</li>
						<li>Replace references to the <code>$.datepicker.enableFor(selector)</code>
							function with <code>$(selector).enableDatepicker()</code>.</li>
						<li>Replace references to the <code>$.datepicker.disableFor(selector)</code>
							function with <code>$(selector).disableDatepicker()</code>.</li>
						<li>Replace references to the <code>$.datepicker.getDateFor(selector)</code>
							function with <code>$(selector).getDatepickerDate()</code>.</li>
						<li>Replace references to the <code>$.datepicker.setDateFor(selector, ...)</code>
							function with <code>$(selector).setDatepickerDate(...)</code>.</li>
						<li>Replace references to the <code>calendar*</code>
							CSS styles with <code>datepicker*</code>.</li>
					</ul>
					<p>For example, this old style code:</p>
<pre><code class="javascript">$('inputs').<b>calendar</b>({<b>autoPopUp</b>: 'both', <b>fieldSettings</b>: setDateRange,
	<b>customDate</b>: <b>popUpCal</b>.noWeekends});
	
&lt;input type="text" id="inlineConfig" <b>cal:</b>defaultDate="+7"/&gt;</code></pre>
					<p>becomes:</p>
<pre><code class="javascript">$('inputs').<b>datepicker</b>({<b>showOn</b>: 'both', <b>beforeShow</b>: setDateRange,
	<b>beforeShowDay</b>: <b>$.datepicker</b>.noWeekends});
	
&lt;input type="text" id="inlineConfig" <b>date:</b>defaultDate="+7"/&gt;</code></pre>
					<h4>v3.2 to v3.3</h4>
					<p>To align the datepicker more closely with other jQuery UI components,
					further changes were made in v3.3, resulting in another compatibility module.</p>
					<p>Users of v3.2 of the datepicker should use the following
						header code to work with their existing implementation:</p>
<pre><code class="html">&lt;link rel="stylesheet" type="text/css" href="<b>ui.datepicker.css</b>"/&gt;
&lt;script type="text/javascript" src="<b>ui.datepicker.js</b>"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="<b>ui.datepicker.compatibility-3.2.js</b>"&gt;&lt;/script&gt;</code></pre>
					<p>Download the <a href="compatibility/ui.datepicker.compatibility-3.2.js" target="_blank">ui.datepicker.compatibility-3.2.js</a> module.</p>
					<p>To migrate fully, the following steps need to be taken:</p>
					<ul>
						<li>Replace references to the <code>datepicker</code>
							function with <code>attachDatepicker</code>.</li>
						<li>Replace references to the <code>$.datepicker.reconfigureFor(selector, ...)</code>
							function with <code>$(selector).changeDatepicker(...)</code>.</li>
						<li>Replace references to the <code>$.datepicker.enableFor(selector)</code>
							function with <code>$(selector).enableDatepicker()</code>.</li>
						<li>Replace references to the <code>$.datepicker.disableFor(selector)</code>
							function with <code>$(selector).disableDatepicker()</code>.</li>
						<li>Replace references to the <code>$.datepicker.getDateFor(selector)</code>
							function with <code>$(selector).getDatepickerDate()</code>.</li>
						<li>Replace references to the <code>$.datepicker.setDateFor(selector, ...)</code>
							function with <code>$(selector).setDatepickerDate(...)</code>.</li>
					</ul>
					<p>For example, this old style code:</p>
<pre><code class="javascript">$('inputs').<b>datepicker</b>();
$.<b>datepicker.reconfigureFor</b>('inputs', {...});</code></pre>
					<p>becomes:</p>
<pre><code class="javascript">$('inputs').<b>attachDatepicker</b>();
$('input').<b>changeDatepicker</b>({...});</code></pre>
				</div>
<!--DEMO				
				<h2 style="margin-top:2em">Use jQuery UI Datepicker</h2>
				<div class="container">
					<p><em>To skip steps 1 and 2, <a href="core/core.ui.datepicker.zip">download the core files</a>.</em></p>
					<ol>
						<li>Get the latest version of <a href="http://jquery.com" target="_blank">jQuery</a> and include it in the head section of your page.
<pre><code class="html">&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.js&quot;&gt;&lt;/script&gt;</code></pre>
						</li>
						<li>Download and include the <a href="core/ui.datepicker.css" target="_blank">jQuery UI Date Picker CSS</a> and the <a href="core/ui.datepicker.js" target="_blank">jQuery UI Date Picker Javascript</a> in the head section of your page.
<pre><code class="html">&lt;style type=&quot;text/css&quot;&gt;@import url(ui.datepicker.css);&lt;/style&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;ui.datepicker.js&quot;&gt;&lt;/script&gt;</code></pre>
						</li>
						<li>Optionally set global defaults for all date picker instances.
							See the <a href="http://docs.jquery.com/UI/Datepicker" target="_blank">additional settings</a> documentation.
<pre><code class="javascript">$.datepicker.setDefaults({showOn: 'both', buttonImageOnly: true,
	buttonImage: 'calendar.gif', buttonText: 'Calendar'});</code></pre>
						</li>
						<li>Initialize the date picker using the jQuery selector followed by the <code>datepicker</code> function.
							Customize each calendar with <a href="http://docs.jquery.com/UI/Datepicker/datepicker#options" target="_blank">additional settings</a>
							as part of the initialization if necessary.
<pre><code class="javascript">$('input selector').attachDatepicker();
$('input selector').attachDatepicker({defaultDate: +7});</code></pre>
						</li>
					</ol>
				</div>
				<a name="documentation" id="documentation"></a>
				<h2>Settings and Documentation</h2>
				<div class="container">
					<p><strong>Documentation:</strong> <a href="http://docs.jquery.com/UI/Datepicker" target="_blank">jQuery UI Datepicker Settings Documentation</a>.</p>
					<p><strong>Localisation packages:</strong></p>
					<ul>
						<li><a href="i18n/ui.datepicker-ca.js" target="_blank">Catalan of Spain</a></li>
						<li><a href="i18n/ui.datepicker-zh-CN.js" target="_blank">Chinese Simplified</a></li>
						<li><a href="i18n/ui.datepicker-zh-TW.js" target="_blank">Chinese Traditional</a></li>
						<li><a href="i18n/ui.datepicker-cs.js" target="_blank">Czech</a></li>
						<li><a href="i18n/ui.datepicker-da.js" target="_blank">Danish</a></li>
						<li><a href="i18n/ui.datepicker-nl.js" target="_blank">Dutch</a></li>
						<li><a href="i18n/ui.datepicker-fr.js" target="_blank">French</a></li>
						<li><a href="i18n/ui.datepicker-de.js" target="_blank">German</a></li>
						<li><a href="i18n/ui.datepicker-he.js" target="_blank">Hebrew</a></li>
						<li><a href="i18n/ui.datepicker-hu.js" target="_blank">Hungarian</a></li>
						<li><a href="i18n/ui.datepicker-is.js" target="_blank">Icelandic</a></li>
						<li><a href="i18n/ui.datepicker-it.js" target="_blank">Italian</a></li>
						<li><a href="i18n/ui.datepicker-ja.js" target="_blank">Japanese</a></li>
						<li><a href="i18n/ui.datepicker-ko.js" target="_blank">Korean</a></li>
						<li><a href="i18n/ui.datepicker-no.js" target="_blank">Norwegian</a></li>
						<li><a href="i18n/ui.datepicker-pl.js" target="_blank">Polish</a></li>
						<li><a href="i18n/ui.datepicker-pt-BR.js" target="_blank">Portuguese of Brazil</a></li>
						<li><a href="i18n/ui.datepicker-ro.js" target="_blank">Romanian</a></li>
						<li><a href="i18n/ui.datepicker-ru.js" target="_blank">Russian</a></li>
						<li><a href="i18n/ui.datepicker-sk.js" target="_blank">Slovak</a></li>
						<li><a href="i18n/ui.datepicker-es.js" target="_blank">Spanish</a></li>
						<li><a href="i18n/ui.datepicker-sv.js" target="_blank">Swedish</a></li>
						<li><a href="i18n/ui.datepicker-th.js" target="_blank">Thai</a></li>
						<li><a href="i18n/ui.datepicker-tr.js" target="_blank">Turkish</a></li>
					</ul>
					<p>Refer to the <a href="http://docs.jquery.com/UI/Datepicker/Localization#Localization">Localisation Documentation</a> to create a new localisation package.</p>
					<p><strong>Change Log:</strong> Recent updates can be found on the <a href="http://docs.jquery.com/UI/Datepicker/ChangeLog" target="_blank">jQuery UI Datepicker ChangeLog</a>.</p>
				</div>
				<h2>Need more help?</h2>
				<div class="container">
					<p>Try looking at the <a href="core/index.html" target="_blank">core datepicker example</a>, which contains the most basic datepicker and a link to the files.</p>
					<p>Email Marc Grabanski (m@marcgrabanski.com) and Keith Wood (kbwood@iprimus.com.au) with "UI Datepicker" in the subject.</p>
				</div>
				<h2>Find a bug or need a feature?</h2>
				<div class="container">
					<p>If you have a bug or change request please <a href="http://dev.jquery.com/newticket">submit a ticket (component: UI)</a>.</p>
					<p>Bugs and change requests submitted through email or comments may not be handled because there is not a good way to track them.</p>
				</div>
				<h2>Projects Based on jQuery UI Datepicker</h2>
				<div class="container">
					<p><a href="http://www.west-wind.com/jqueryweb/jqueryDatepicker.aspx">jQuery UI Datepicker ASP.NET Control</a> by Rick Strahl</p>
					<p><a href="http://drupal.org/project/jquery_calendar">jQuery Calendar Drupal Plugin</a> - will be updated with jQuery UI Datepicker.</p>
					<p>Have a project? Then tell us about it! Email Marc Grabanski (m@marcgrabanski.com)</p>
				</div>
				<h2>Make a Donation</h2>
			  <div class="container">
			  	<p>If you use, and enjoy, this calendar please consider donating to support our efforts.</p>
				<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
				<div>
					<input type="hidden" name="cmd" value="_s-xclick" />
					<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" name="submit" alt="Make a donation to my Open Source Fund." style="border:0;" />
					<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
					<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----
" />
</div>
</form>
			  </div>
			  	<h2>Social Bookmarking</h2>
				<div class="container">
					<script type="text/javascript">
						if (typeof window.Delicious == "undefined") window.Delicious = {};
						Delicious.BLOGBADGE_DEFAULT_CLASS = 'delicious-blogbadge-line';
					</script>
					<script src="http://images.del.icio.us/static/js/blogbadge.js"  type="text/javascript"></script>
				</div>
			</div>
			<div id="footer">
				<div>
                	<p class="caption">Copyright 2007 &copy; Marc Grabanski</p>
				</div>
            </div>
		</div>
DEMO-->	
		<!-- Include jQuery -->
		<script type="text/javascript" src="core/jquery.js"></script>
		
		<!-- Include UI Datepicker -->
		<script type="text/javascript" src="core/ui.datepicker.js"></script>
		
		<!-- Include Demo Files -->
		<script type="text/javascript" src="demo/jquery.localisation.js"></script>
		<script type="text/javascript" src="i18n/ui.datepicker-fr.js"></script>
		<script type="text/javascript" src="i18n/ui.datepicker-he.js"></script>
		<script type="text/javascript" src="demo/ui.datepicker.demo.js"></script>
    </body>
</html>