<!--

function add_topic_validation(thisform){

	with(thisform){
		if(empty_validation(forum_topics_title,"U dient nog een titel in te geven")==false){forum_topics_title.focus(); return false;}
		if(length_validation(forum_topics_title,3,null,"U dient een geldige titel in te geven")==false){forum_topics_title.focus(); return false;}
		if(empty_validation(forum_topics_text,"U dient nog een bijdrage te schrijven")==false){forum_topics_text.focus(); return false;}
		if(length_validation(forum_topics_text,3,null,"U dient een wat langere bijdrage te schrijven")==false){forum_topics_text.focus(); return false;}

		if(empty_validation(forum_topics_author_name,"U dient uw naam nog in te geven")==false){forum_topics_author_name.focus(); return false;}
		if(empty_validation(forum_topics_author_email,"U dient uw emailadres nog in te geven")==false){forum_topics_author_email.focus(); return false;}

		if(forum_topics_author_notify.value==1){
			if(email_validation(forum_topics_author_email,"U dient uw emailadres nog in te geven")==false){forum_topics_author_email.focus(); return false;}	
		}
	}

} // function add_topic_validation

function add_reaction_validation(thisform){

	with(thisform){
		if(empty_validation(reactions_title,"U dient nog een titel in te geven")==false){reactions_title.focus(); return false;}
		if(length_validation(reactions_title,3,null,"U dient een geldige titel in te geven")==false){reactions_title.focus(); return false;}
		if(empty_validation(reactions_text,"U dient nog een bijdrage te schrijven")==false){reactions_text.focus(); return false;}
		if(length_validation(reactions_text,3,null,"U dient een wat langere bijdrage te schrijven")==false){reactions_text.focus(); return false;}
		if(empty_validation(reactions_author_name,"U dient uw naam nog in te geven")==false){reactions_author_name.focus(); return false;}
		if(email_validation(reactions_author_email,"U dient een geldig emailadres in te geven")==false){reactions_author_email.focus(); return false;}					
		
		if(reactions_author_name.length>0){
			if(email_validation(reactions_author_email,"U dient een geldig emailadres in te geven")==false){reactions_author_email.focus(); return false;}					
		}
	}

} // function add_reaction_validation

//-->