Take a fresh look at your lifestyle.

ordering_form

All Ad Spaces are full. Contact us via the contact form.
(function($) { $(document).ready(function(){ var bsaProCalendar = $(".bsa_pro_calendar"); var sid = $("#bsa_pro_space_id"); var dates = ; if ( dates ) { if ( dates !== '' ) { if ( dates !== null ) { sid.bind("change",function() { bsaProCalendar.datepicker({ dateFormat : "yy-mm-dd", firstDay: 0, closeText: "Done", prevText: "Prev", nextText: "Next", currentText: "Today", monthNames: [ "January","February","March","April","May","June","July","August","September","October","November","December" ], monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun","Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ], dayNames: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], dayNamesShort: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], dayNamesMin: [ "Su","Mo","Tu","We","Th","Fr","Sa" ], weekHeader: "Wk", isRTL: false, minDate: 0, beforeShowDay: function(date){ var string = jQuery.datepicker.formatDate("yy-mm-dd", date); return [ dates[sid.val()].indexOf(string) === -1, "bsaProUnavailableDate" ] }, beforeShow: function(input, inst) { $('#ui-datepicker-div').addClass('bsaProCalendar'); } }); }); } } } else { var d = new Date(); bsaProCalendar.datepicker({ dateFormat : "yy-mm-dd", firstDay: 0, closeText: "Done", prevText: "Prev", nextText: "Next", currentText: "Today", monthNames: [ "January","February","March","April","May","June","July","August","September","October","November","December" ], monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun","Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ], dayNames: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], dayNamesShort: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], dayNamesMin: [ "Su","Mo","Tu","We","Th","Fr","Sa" ], weekHeader: "Wk", isRTL: false, minDate: 0, beforeShowDay: function(date){ var string = jQuery.datepicker.formatDate("yy-mm-dd", date); return [ (d.getFullYear() + '-' + (d.getMonth() + 1) + '-' + (d.getDay() - 1) ).indexOf(string) === -1, "bsaProUnavailableDate" ] }, beforeShow: function(input, inst) { $('#ui-datepicker-div').addClass('bsaProCalendar'); } }); } var inputTitle = $("#bsa_pro_title"); var inputDesc = $("#bsa_pro_desc"); var inputButton = $("#bsa_pro_button"); var inputUrl = $("#bsa_pro_url"); inputTitle.keyup(function() { bsaPreviewInput("title"); }); inputDesc.keyup(function() { bsaPreviewInput("desc"); }); inputButton.keyup(function() { bsaPreviewInput("button"); }); inputUrl.keyup(function() { bsaPreviewInput("url"); }); sid.bind("change",function() { bsaGetBillingModels(); bsaTemplatePreview(); $(".bsaUrlSpaceId").html($("#bsa_pro_space_id").val()); }); sid.trigger("change"); }); })(jQuery); function bsaGetBillingModels() { (function($) { var getBillingModels = $(".bsaGetBillingModels"); var bsaLoaderModels = $(".bsaLoaderModels"); getBillingModels.slideUp(); bsaLoaderModels.fadeIn(400); setTimeout(function(){ $.post("https://cazahealthcenter.com/wp-admin/admin-ajax.php", {action:"bsa_get_billing_models_callback",bsa_space_id:$("#bsa_pro_space_id").val(),bsa_order:1}, function(result) { getBillingModels.html(result).slideDown(); bsaLoaderModels.fadeOut(400); }); }, 700); })(jQuery); } function bsaTemplatePreview() { (function($) { var bsaTemplatePreviewInner = $(".bsaTemplatePreviewInner"); var bsaLoaderPreview = $(".bsaLoaderPreview"); bsaTemplatePreviewInner.slideUp(400); bsaLoaderPreview.fadeIn(400); setTimeout(function(){ $.post("https://cazahealthcenter.com/wp-admin/admin-ajax.php", {action:"bsa_preview_callback",bsa_space_id:$("#bsa_pro_space_id").val(),bsa_ad_id:$("#bsa_pro_ad_id").val()}, function(result) { bsaTemplatePreviewInner.html(result).slideDown(400); bsaGetRequiredInputs(); var inputTitle = $("#bsa_pro_title"); var inputDesc = $("#bsa_pro_desc"); var inputButton = $("#bsa_pro_button"); var inputUrl = $("#bsa_pro_url"); if ( inputTitle.val().length > 0 ) { bsaPreviewInput("title"); } if ( inputDesc.val().length > 0 ) { bsaPreviewInput("desc"); } if ( inputButton.val().length > 0 ) { bsaPreviewInput("button"); } if ( inputUrl.val().length > 0 ) { bsaPreviewInput("url"); } bsaLoaderPreview.fadeOut(400); }); }, 700); })(jQuery); } function bsaGetRequiredInputs() { (function($) { var bsaLoaderInputs = $(".bsaLoaderInputs"); bsaLoaderInputs.fadeIn(400); $.post("https://cazahealthcenter.com/wp-admin/admin-ajax.php", {action:"bsa_required_inputs_callback",bsa_space_id:$("#bsa_pro_space_id").val(),bsa_get_required_inputs:1}, function(result) { $(".bsa_inputs_required").val($.trim(result)); if ( result.indexOf("title") !== -1 ) { // show if title required $(".bsa_title_inputs_load").fadeIn(); } else { $(".bsa_title_inputs_load").fadeOut(); } if ( result.indexOf("desc") !== -1 ) { // show if description required $(".bsa_desc_inputs_load").fadeIn(); } else { $(".bsa_desc_inputs_load").fadeOut(); } if ( result.indexOf("button") !== -1 ) { // show if button required $(".bsa_button_inputs_load").fadeIn(); } else { $(".bsa_button_inputs_load").fadeOut(); } if ( result.indexOf("url") !== -1 ) { // show if url required $(".bsa_url_inputs_load").fadeIn(); } else { $(".bsa_url_inputs_load").fadeOut(); } if ( result.indexOf("img") !== -1 ) { // show if img required $(".bsa_img_inputs_load").fadeIn(); var bsaTemplatePreviewInner = $('.bsaTemplatePreviewInner'); if ( bsaTemplatePreviewInner.attr('data-img') ) { $(".bsaTemplatePreviewForm .bsaProItemInner__img").css({"background-image" : "url(" + bsaTemplatePreviewInner.attr('data-img') + ")"}); } } else { $(".bsa_img_inputs_load").fadeOut(); } if ( result.indexOf("html") !== -1 ) { // show if html required $(".bsa_html_inputs_load").fadeIn(); } else { $(".bsa_html_inputs_load").fadeOut(); } bsaLoaderInputs.fadeOut(400); }); })(jQuery); } function bsaPreviewInput(inputName) { (function($){ $(document); var input = $("#bsa_pro_" + inputName); var sign = $(".bsa_pro_sign_" + inputName); var limit = input.attr("maxLength"); var bsaProContainerExample = $(".bsaProContainerExample"); var exampleTitle = "Example title"; var exampleDesc = "Example description"; var exampleButton = "Example button"; var exampleUrl = "http://example.com"; sign.text(limit - input.val().length); input.keyup(function() { if (input.val().length > limit) { input.val($(this).val().substring(0, limit)); } }); if (input.val().length > 0) { if ( inputName === "title" ) { bsaProContainerExample.find(".bsaProItemInner__" + inputName).html(input.val()); } else if ( inputName === "desc" ) { bsaProContainerExample.find(".bsaProItemInner__" + inputName).html(input.val()); } else if ( inputName === "button" ) { bsaProContainerExample.find(".bsaProItemInner__" + inputName).html(input.val()); } else if ( inputName === "url" ) { bsaProContainerExample.find(".bsaProItemInner__" + inputName).html("http://" + input.val().replace("http://","").replace("https://","").replace("www.","").split(/[/?#]/)[0]); } } else { if ( inputName === "title" ) { bsaProContainerExample.find(".bsaProItemInner__" + inputName).html(exampleTitle); } else if ( inputName === "desc" ) { bsaProContainerExample.find(".bsaProItemInner__" + inputName).html(exampleDesc); } else if ( inputName === "button" ) { bsaProContainerExample.find(".bsaProItemInner__" + inputName).html(exampleButton); } else if ( inputName === "url" ) { bsaProContainerExample.find(".bsaProItemInner__" + inputName).html("http://" + exampleUrl.val().replace("http://","").replace("https://","").replace("www.","").split(/[/?#]/)[0]); } } })(jQuery); } function bsaPreviewThumb(input) { (function($){ if (input.files[0]) { var reader = new FileReader(); reader.onload = function (e) { $(".bsaTemplatePreviewForm .bsaProItemInner__img").css({"background-image" : "url(" + e.target.result + ")"}); }; reader.readAsDataURL(input.files[0]); } })(jQuery); }

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More