    Date.firstDayOfWeek = 0;
    Date.format = 'dd mmm yyyy';
    $(function()
    		{
    			$('.date-pick')
    				.datePicker({createButton:false})
    				.bind(
    					'focus',
    					function(event, message)
    					{
    						if (message == $.dpConst.DP_INTERNAL_FOCUS) {
    							return true;
    						}
    						var dp = this;
    						var $dp = $(this);
    						$dp.dpDisplay();
    						$('*').bind(
    							'focus.datePicker',
    							function(event)
    							{
    								var $focused = $(this);
    								if (!$focused.is('.dp-applied')) // don't close the focused date picker if we just opened a new one!
    								{
    									if ($focused.parents('#dp-popup').length == 0 && this != dp && !($.browser.msie && this == document.body)) {
    										$('*').unbind('focus.datePicker');
    										$dp.dpClose();
    									}
    								}
    							}
    						);
    						return false;
    					}
    				).bind(
    					'dpClosed',
    					function(event, selected)
    					{
    						$('*').unbind('focus.datePicker');
    					}
    				).datePicker({startDate:'01 Jan 2008', // Date starting from 01 Jan 2008
    					endDate: (new Date()).asString()});// Today as end date 
    		});
