        <style type="text/css">
            #datepick-div .datepick-header {
                width: 172px !important;
            }
            #datepick-div {
                /* -border-radius: 3px;
                 -box-shadow: 0 0 2px #888888;
                 -webkit-border-radius: 3px;
                 -webkit-box-shadow: 0 0 2px #888888;
                 -moz-border-radius: 3px;
                 -moz-box-shadow: 0 0 2px #888888;*/
                border:1px solid #98a188;
                width: 172px !important;
            }
            #datepick-div .datepick .datepick-days-cell a{
                font-size: 11px;
            }
            #datepick-div table.datepick tr td {
                border-top: 0 none !important;
                line-height: 21px;
                padding: 0 !important;
                width: 24px;
            }
            #datepick-div .datepick-control {
                font-size: 10px;
                text-align: center;
            }

        </style>
        <script type="text/javascript" >

            function dmy_to_timestamp(dmy) {
                var date_parts = dmy.split('-');
                date = new Date(parseInt(date_parts[2]), date_parts[1] - 1, parseInt(date_parts[0]));
                return date.getTime();
            }
            function selectCheckInDay(date) {

                if (!jWPDev('#booking_search_check_out').val() || dmy_to_timestamp(jWPDev('#booking_search_check_out').val()) <= dmy_to_timestamp(jWPDev('#booking_search_check_in').val())) {

                    var start_bk_month_4_check_out = jWPDev('#booking_search_check_in').val().split('-');
                    var myDate = new Date();
                    myDate.setFullYear( (1*start_bk_month_4_check_out[2]), (1*start_bk_month_4_check_out[1]-1) ,  (1*start_bk_month_4_check_out[0]+1) );
                    var my_date = myDate.getDate(); if (my_date < 10 ) my_date = '0' + my_date;
                    var my_month = myDate.getMonth() +1; if (my_month < 10 ) my_month = '0' + my_month;
                    jWPDev('#booking_search_check_out').val(my_date+ '-' + my_month + '-' + myDate.getFullYear()) ;
                }

            }

            function setDaysForCheckOut(date){

                if (jWPDev('#booking_search_check_in').val()) {
                    var year_m_d = jWPDev('#booking_search_check_in').val().split("-");
                    var checkInDate = new Date();
                    checkInDate.setFullYear( year_m_d[2], (year_m_d[1]-1) , (parseInt(year_m_d[0])+0) );
                    if(checkInDate <= date ) return [true, ''];     // Available
                    else                     return [false, ''];    // Unavailable

                } else return [true, ''];
            }

            jWPDev(document).ready( function(){
                jWPDev('#booking_search_check_in').datepick(
                    {   onSelect: selectCheckInDay,
                        showOn: 'focus',
                        multiSelect: 0,
                        numberOfMonths: 1,
                        stepMonths: 1,
                        prevText: '<<',
                        nextText: '>>',
                        dateFormat: 'dd-mm-yy',
                        changeMonth: false,
                        changeYear: false,
                        minDate: +1, maxDate: '1Y',
                        showStatus: false,
                        multiSeparator: ', ',
                        closeAtTop: false,
                        firstDay:0,
                        gotoCurrent: false,
                        hideIfNoPrevNext:true,
                        //rangeSelect:wpdev_bk_is_dynamic_range_selection,
                        //calendarViewMode:wpdev_bk_calendarViewMode,
                        useThemeRoller :false,
                        mandatory: true/**/
                    }
                );
                jWPDev('#booking_search_check_out').datepick(
                    {   beforeShowDay: setDaysForCheckOut,
                        showOn: 'focus',
                        multiSelect: 0,
                        numberOfMonths: 1,
                        stepMonths: 1,
                        prevText: '<<',
                        nextText: '>>',
                        dateFormat: 'dd-mm-yy',
                        changeMonth: false,
                        changeYear: false,
                        minDate: 0, maxDate: '1Y',
                        showStatus: false,
                        multiSeparator: ', ',
                        closeAtTop: false,
                        firstDay:0,
                        gotoCurrent: false,
                        hideIfNoPrevNext:true,
                        //rangeSelect:wpdev_bk_is_dynamic_range_selection,
                        //calendarViewMode:wpdev_bk_calendarViewMode,
                        useThemeRoller :false,
                        mandatory: true/**/
                    }
                );
            });
        </script>

              <style type="text/css">
            #datepick-div .datepick-header {
                width: 172px !important;
            }
            #datepick-div {
                /* -border-radius: 3px;
                 -box-shadow: 0 0 2px #888888;
                 -webkit-border-radius: 3px;
                 -webkit-box-shadow: 0 0 2px #888888;
                 -moz-border-radius: 3px;
                 -moz-box-shadow: 0 0 2px #888888;*/
                border:1px solid #98a188;
                width: 172px !important;
            }
            #datepick-div .datepick .datepick-days-cell a{
                font-size: 11px;
            }
            #datepick-div table.datepick tr td {
                border-top: 0 none !important;
                line-height: 21px;
                padding: 0 !important;
                width: 24px;
            }
            #datepick-div .datepick-control {
                font-size: 10px;
                text-align: center;
            }

        </style>
        <script type="text/javascript" >

            function dmy_to_timestamp(dmy) {
                var date_parts = dmy.split('-');
                date = new Date(parseInt(date_parts[2]), date_parts[1] - 1, parseInt(date_parts[0]));
                return date.getTime();
            }
            function selectCheckInDay(date) {

                if (!jWPDev('#booking_search_check_out').val() || dmy_to_timestamp(jWPDev('#booking_search_check_out').val()) <= dmy_to_timestamp(jWPDev('#booking_search_check_in').val())) {

                    var start_bk_month_4_check_out = jWPDev('#booking_search_check_in').val().split('-');
                    var myDate = new Date();
                    myDate.setFullYear( (1*start_bk_month_4_check_out[2]), (1*start_bk_month_4_check_out[1]-1) ,  (1*start_bk_month_4_check_out[0]+1) );
                    var my_date = myDate.getDate(); if (my_date < 10 ) my_date = '0' + my_date;
                    var my_month = myDate.getMonth() +1; if (my_month < 10 ) my_month = '0' + my_month;
                    jWPDev('#booking_search_check_out').val(my_date+ '-' + my_month + '-' + myDate.getFullYear()) ;
                }

            }

            function setDaysForCheckOut(date){

                if (jWPDev('#booking_search_check_in').val()) {
                    var year_m_d = jWPDev('#booking_search_check_in').val().split("-");
                    var checkInDate = new Date();
                    checkInDate.setFullYear( year_m_d[2], (year_m_d[1]-1) , (parseInt(year_m_d[0])+0) );
                    if(checkInDate <= date ) return [true, ''];     // Available
                    else                     return [false, ''];    // Unavailable

                } else return [true, ''];
            }

            jWPDev(document).ready( function(){
                jWPDev('#booking_search_check_in').datepick(
                    {   onSelect: selectCheckInDay,
                        showOn: 'focus',
                        multiSelect: 0,
                        numberOfMonths: 1,
                        stepMonths: 1,
                        prevText: '<<',
                        nextText: '>>',
                        dateFormat: 'dd-mm-yy',
                        changeMonth: false,
                        changeYear: false,
                        minDate: +1, maxDate: '1Y',
                        showStatus: false,
                        multiSeparator: ', ',
                        closeAtTop: false,
                        firstDay:0,
                        gotoCurrent: false,
                        hideIfNoPrevNext:true,
                        //rangeSelect:wpdev_bk_is_dynamic_range_selection,
                        //calendarViewMode:wpdev_bk_calendarViewMode,
                        useThemeRoller :false,
                        mandatory: true/**/
                    }
                );
                jWPDev('#booking_search_check_out').datepick(
                    {   beforeShowDay: setDaysForCheckOut,
                        showOn: 'focus',
                        multiSelect: 0,
                        numberOfMonths: 1,
                        stepMonths: 1,
                        prevText: '<<',
                        nextText: '>>',
                        dateFormat: 'dd-mm-yy',
                        changeMonth: false,
                        changeYear: false,
                        minDate: 0, maxDate: '1Y',
                        showStatus: false,
                        multiSeparator: ', ',
                        closeAtTop: false,
                        firstDay:0,
                        gotoCurrent: false,
                        hideIfNoPrevNext:true,
                        //rangeSelect:wpdev_bk_is_dynamic_range_selection,
                        //calendarViewMode:wpdev_bk_calendarViewMode,
                        useThemeRoller :false,
                        mandatory: true/**/
                    }
                );
            });
        </script>

      {"id":40,"date":"2012-05-18T14:27:15","date_gmt":"2012-05-18T14:27:15","guid":{"rendered":"http:\/\/www.angelicahotel.com\/?page_id=40"},"modified":"2012-05-22T16:14:32","modified_gmt":"2012-05-22T16:14:32","slug":"booking","status":"publish","type":"page","link":"https:\/\/www.angelicahotel.com\/el\/booking\/","title":{"rendered":"\u039a\u03c1\u03b1\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2"},"content":{"rendered":"<p><\/p>\n<div id=\"side-left\"><div id=\"booking_search_form\" class=\"booking_form_div booking_search_form\">\n                    <form name=\"booking_search_form\" id=\"booking_search_form\" action=\"\" method=\"post\"><h3>\u03a6\u03cc\u03c1\u03bc\u03b1 \u039a\u03c1\u03b1\u03c4\u03ae\u03c3\u03b5\u03c9\u03bd<\/h3>\r\n<div class=\"contact-divider\"><\/div>\r\n\r\n<div class=\"form\"><label>CHECK IN:<\/label> <input type=\"text\" size=\"10\" value=\"\" name=\"check_in\" id=\"booking_search_check_in\" >\r\n\r\n<label>CHECK OUT:<\/label> <input type=\"text\" size=\"10\" value=\"\" name=\"check_out\"  id=\"booking_search_check_out\">\r\n\r\n<label>\u0391\u03a1\u0399\u0398\u039c. \u0395\u03a0\u0399\u03a3\u039a\u0395\u03a0\u03a4\u03a9\u039d:<\/label> <select style=\"width:50px;\" id=\"booking_visitors\" name=\"visitors\"> <option value=\"1\">1<\/option> <option value=\"2\">2<\/option> <option value=\"3\">3<\/option> <option value=\"4\">4<\/option><option value=\"5\">5<\/option><\/select> <br \/>\r\n\r\n<input type=\"button\" id=\"searchsubmit\" onclick=\"searchFormClck( this.form , 'el' );\" value=\"\u0391\u03bd\u03b1\u03b6\u03ae\u03c4\u03b7\u03c3\u03b7\" class=\"search_booking\"><\/div><div style=\"clear:both;\"><\/div>\n                    <\/form>\n                <\/div>\n                <!--<span id=\"siteseal\"><script type=\"text\/javascript\" src=\"https:\/\/seal.godaddy.com\/getSeal?sealID=0ATn93654yC3Q8oidwcDJ2U6KsIBaGN2QEMySDN0uZxZ9SPLaFdzpH8lWtbZ\"><\/script><\/span>--><\/div>\n                <div id=\"booking_search_ajax\"><\/div>\n                <div id=\"booking_search_results\"><\/div><script type=\"text\/javascript\">jQuery('#searchsubmit').click();<\/script>\n<p><\/p>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-40","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.angelicahotel.com\/el\/wp-json\/wp\/v2\/pages\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.angelicahotel.com\/el\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.angelicahotel.com\/el\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.angelicahotel.com\/el\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.angelicahotel.com\/el\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":0,"href":"https:\/\/www.angelicahotel.com\/el\/wp-json\/wp\/v2\/pages\/40\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.angelicahotel.com\/el\/wp-json\/wp\/v2\/media?parent=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}