');
//});
//schedule_time_list_popup.find('li').wrap('
');
//var date = $(this).attr("data-date");
//$.ajax({url: "./beach_time.php?date=" + date, async: false, success: function (result) {
// $("#schedule-mar").html(result);
// }});
},
onClosed: function () {
//location.reload(true);
//$("#schedule-mar").empty();
}
});
});
$.htmlEntities = function (str, proc) {
if ('encode' === proc) {
var buffer = [];
for (var i = str.length - 1; i >= 0; i--) {
buffer.unshift(['&#', str[i].charCodeAt(), ';'].join(''));
}
return buffer.join('');
} else {
return str.replace(/&#(\d+);/g, function (match, dec) {
return String.fromCharCode(dec);
});
}
}