// JavaScript Document
function crt(text1, text2, text3) {
	flc = "HIBA A BEJEGYZÉSKOR! A HIBA OKA :\n\n";
	if (text1.value == "") {
		alert(flc+"A 'név' mezo üresen maradt!");
		return false;
	}else if (text2.value == "") {
		alert(flc+"Az 'e-mail cím' mezo üresen maradt!");
		return false;
	}else if (text2.value.indexOf("@") < 1 || text2.value.indexOf(".") < 1) {
		alert(flc+"Hibás e-mail cím. ("+text2.value+")! Kérlek adj meg valós címet.");
		return false;	
	}else if (text3.value == "") {
		alert(flc+"A 'hozzászólás' mezo üresen maradt!");
		return false;					
	}else{
		return true;
	}
}
function del(text1, text2, text3) {
	text1.value = "";
	text2.value = "";
	text3.value = "";
}
function smili1(text1) {
	text1.value += ":)";
}
function smili2(text1) {
	text1.value += ":(";
}
function smili3(text1) {
	text1.value += ":/";
}
