","Foo",'menubar=no,scrollbars=yes,width=570,height=470,left=100,top=100,directories=no,location=no,resizable=yes,status=no,toolbar=no'); // setTimeout("document.location = 'contact-us/'", 4000); } else { alert(data); $("#please-wait").html("Error sending enquiry"); } }, data: $("#enquiryForm").serialize() }); $("#buttons").hide(); $("#please-wait").show(); }else{ // alert("You Cant Use the enquiry form right now. Please Try Again Later!..."); $("#error_acc").html("Please check your answer on CAPTCHA"); } } }