');jQuery('.product_enquiry_result').fadeIn();return!1} if(!jQuery('#product_enquiry_email').val()){jQuery('#product_enquiry_form').before(' ');jQuery('.product_enquiry_result').fadeIn();return!1} if(!jQuery('#product_enquiry_message').val()){jQuery('#product_enquiry_form').before(' ');jQuery('.product_enquiry_result').fadeIn();return!1} jQuery('#product_enquiry_form').block({message:null,overlayCSS:{background:'#fff url(https://gloriaexports.com/wp-content/plugins/woocommerce/assets/images/ajax-loader.gif) no-repeat center',opacity:0.6}});var data={action:'woocommerce_product_enquiry_post',security:'f0841abe9d',post_data:jQuery('#product_enquiry_form').serialize()};jQuery.post('//gloriaexports.com/wp-admin/admin-ajax.php',data,function(response){if(response=='SUCCESS'){jQuery('#product_enquiry_form').before(' ');jQuery('#product_enquiry_form textarea').val('')}else{jQuery('#product_enquiry_form').before(' ')} if(typeof grecaptcha!=='undefined'){grecaptcha.reset()} jQuery('#product_enquiry_form').unblock();jQuery('.product_enquiry_result').fadeIn()});return!1};jQuery('#send_product_enquiry').click(function(e){e.preventDefault();prepareForm()})})