$(function(){
	$("#refreshimg").click(function(){
		$.post('newsession.php');
		$("#captchaimage").load('../_captcha/image_req.php');
		return false;
	});
	
	$("#commentForm").validate({
		rules: {
			captcha: {
				required: true,
				remote: "../_captcha/process.php"
			}
		},
		messages: {
			captcha: "Λάθος Εικόνα Επιβεβαίωσης!"	
		},
		onkeyup: false
	});
	
});
