$(document).ready(function(){
	
	$('#newmesage').submit(function() {
		
		from = $('input[name=from]').attr('value');
		text = $('textarea[name=text]').val();
		zipcode = $('input[name=zipcode]').attr('value');
		
		$.postComment({ from: from, text: text, capcha: zipcode });

		return false;
	});


	
});