    //script type="text/javascript" language="javascript">
	
	<!-- ------------------------------------------------------ -->
    <!-- JAVASCRIPT function  (calendar)                        -->
    <!-- ------------------------------------------------------ -->

    	    $(function () {
    	        var dates = $("#TextArrival, #TextDeparture").datepicker({
    	            defaultDate: "+1w",
    	            firstDay: 1,
    	            
                    defaultDate: "+1w",	             
	                dateFormat: "dd.mm.yy",
                    constraintInput: true,
                   
	                showOn:"both",
	                buttonImage: "i_pictures/calendarsmall.gif",
                    buttonImageOnly:true,
                    numberOfMonths: 3,
                    showWeek: false,
                    changeMonth: true,
			        changeYear: false,
            
    	            onSelect: function (selectedDate) {
    	                var option = this.id == "TextArrival" ? "minDate" : "maxDate",
					instance = $(this).data("datepicker"),
					date = $.datepicker.parseDate(
						instance.settings.dateFormat ||
						$.datepicker._defaults.dateFormat,
						selectedDate, instance.settings);
    	                dates.not(this).datepicker("option", option, date);
    	            }
    	        });
    	    });

