function crt(text1, text2, text3) { 
flc = "ERROR IN REGISTRATION! \n\n"; 
if (text1.value == "") { 
alert(flc+"The gap "your name" is empty!"); 
return false; 
}else if (text2.value == "") { 
alert(flc+"The gap "your e-mail address" is empty!"); 
return false; 
}else if (text2.value.indexOf("@") < 1 || text2.value.indexOf(".") < 1) { 
alert(flc+"Invalid e-mail address . ("+text2.value+")! Please give a valid e-mail.."); 
return false; 
}else if (text3.value == "") { 
alert(flc+"The gap "comment" is empty!"); 
return false; 
}else{ 
return true; 
} 
}

function del(text1, text2, text3) { 
text1.value = ""; 
text2.value = ""; 
text3.value = ""; 
}