$(function(){
		
	$('#form_submit').click(function(){
	
	var input_name = $('#form_name').val(),
		input_email = $('#form_email').val(),
		input_subject = $('#form_subject').val(),
		input_message = $('#form_message').val(),
		response_text = $('#response');
		response_text.hide();
		
		response_text.html('Siunčiama...').show();
		
		$.post('http://www.euroblogas.lt/wp-content/themes/euroblogtheme/contact/contact-send.php', {name: input_name, email: input_email, subject: input_subject, message: input_message}, function(data){
			response_text.html(data);
		});
		return false;
	});

});
$(function(){
		
	$('#form_submit_join').click(function(){
	
	var input_name = $('#form_name').val(),
		input_email = $('#form_email').val(),
		input_www = $('#form_www').val(),
		input_nickname = $('#form_nickname').val(),
		input_info = $('#form_info').val(),
		input_why = $('#form_why').val(),
		response_text = $('#response');
		response_text.hide();
		
		response_text.html('Siunčiama...').show();
		
		$.post('http://www.euroblogas.lt/wp-content/themes/euroblogtheme/contact/join-us.php', {name: input_name, email: input_email, www: input_www, nickname: input_nickname, info: input_info, why: input_why}, function(data){
			response_text.html(data);
		});
		
		return false;
	});

});