sendContact = function(){
	
	if($("#lang").val() == "hu")
		var msg = "Üzenet küldése folyamatban...";
	else
		var msg = "Sending email. Please wait...";
	$("#message").html('<p style="font-size:11px; font-weight:bold; margin:0; padding:0 0 5px; color:#77a000">'+msg+'</p>');
	
	$.ajax({
		type: "POST",
  		url: "send.php",
		data: $("form#contact").serialize(),
  		cache: false,		
  		success: function(html){
			$("#message").html(html);
		}
	});	
};
$(document).ready(function(){  	
	$("a.sendrequest").click(function(){sendContact();return false;});
}); 