     		// <![CDATA[         
        var today       = new Date();        
        // START: Just for the demo to reset the departure date to todays date
        // This would always be done server side in reality...
       	// document.getElementById("DD1").selectedIndex = today.getDate();
        // END: just for the demo...
        var currentTime = new Date()
				var month = currentTime.getMonth() + 1
				var day = currentTime.getDate()
				var year = currentTime.getFullYear()
				document.getElementById("arrival").value = day + "/" +month  + "/" + year
        // Default options
        var opts = {
                splitDate:true, 
                staticPos:false,
                fillGrid:true,
                constrainSelection:false,                
                noTodayButton:true,
                // You would most probably calculate both the high and low ranges server side...
                rangeLow:bookingPod.createYYYYMMDDString(new Date(today.getFullYear(), today.getMonth(), today.getDate() + bookingPod.MIN_DATE_LIMIT)),
                rangeHigh:bookingPod.createYYYYMMDDString(new Date(today.getFullYear(), today.getMonth(), today.getDate() + bookingPod.MAX_DATE_LIMIT)),                       
                callbackFunctions:{"create":[bookingPod.checkReturnDate],"dateset":[bookingPod.checkReturnDate]},                                                   
                statusFormat:"l-cc-sp-d-S-sp-F-sp-Y"      
        };  
        // Create Slave first
        opts.formElements = { "departure":"d-sl-m-sl-Y"};
        datePickerController.createDatePicker(opts);

        // Master second
        opts.formElements = { "arrival":"d-sl-m-sl-Y"};   
        opts.callbackFunctions = {"create":[bookingPod.checkOutwardDate],"dateset":[bookingPod.checkOutwardDate]};
        datePickerController.createDatePicker(opts);
				window.scrollTo(0,0);
				// ]]>

