$(document).ready(function(){

			
						
			$("#generalForm").submit(function(){

			var str = $(this).serialize();

			   $.ajax({
			   type: "POST",
			   url: "http://www.extradollop.com.au/assets/php/phpmailer.php",
			   data: str,
			   success: function(msg){
				
			$("#note").ajaxComplete(function(event, request, settings){

			if(msg == 'OK') // Message Sent? Show the 'Thank You' message and hide the form
			{
			result = '<div class="notification_ok">Your request has been sent! We will be sure to get back to you as soon as possible. Hold tight.</div>';
			$("#contact").hide();
			pageTracker._trackPageview("/formsent");
			}
			else
			{
			result = msg;
			}

			$(this).html(result);

			});

			}

			 });

			return false;

			});

			});
