	$(document).ready(function(){
	  
	  //bind form using 'ajaxForm' 
	  $('#contact-form').ajaxForm({  
	    target:"#hiddenDIV", 
	    beforeSubmit:function() {
	       $("#contact-msg").html("Sending...");
		   $("#contact-msg").css({border:"1px solid #e85f51", backgroundColor:"#ffd0cb"});
	    },
	    success:function(response) {
	      if (response=="success") {
	        $("#contact-form").resetForm();
	        $("#contact-msg").html("<p>Thank you for contacting OOPS. We will contact you shortly to find out more about how we can assist with your enquiry.<\/p>");
	        
	      } else {
	        $("#contact-msg").html(  $("#hiddenDIV #content ul").html() );
	        $("#hiddenDIV").empty(); 
	      }
	    }
	  });
	
	});
