function checkform(lang) {
	if (document.getElementById('investor-relations').checked!=true && document.getElementById('media-relations').checked!=true && document.getElementById('communications').checked!=true && document.getElementById('procurement-office').checked!=true && document.getElementById('corp-social-responsib').checked!=true && document.getElementById('other-infos').checked!=true) {	
		if(lang=='de'){
			alert('Bitte wählen Sie ein Thema.');
		}else if(lang=='it'){
			alert('Seleziona un argomento.');
		}else{
			alert('Please select a topic.');			
		}
		return false;
	}
	if (document.getElementById('name').value=='') {
		if(lang=='de'){
			alert('Bitte geben Sie Ihren Namen ein.');
		}else if(lang=='it'){
			alert('Inserisci il tuo nome.');
		}else{
			alert('Please enter your name.');			
		}
		return false;
	}
	if (document.getElementById('surname').value=='') {
		if(lang=='de'){
			alert('Bitte geben Sie Ihren Vornamen ein.');
		}else if(lang=='it'){
			alert('Inserisci il tuo cognome.');
			}else{
			alert('Please enter your surname.');			
		}
		return false;
	}
	if (document.getElementById('email').value=='') {
		if(lang=='de'){
			alert('Bitte geben Sie Ihre E-Mailadresse ein.');
		}else if(lang=='it'){
			alert('Inserisci il tuo indirizzio mail.');
		}else{
			alert('Please enter your email.');			
		}
		return false;
	}
	
	if (!document.getElementById('email').value.match(/^[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i)){
    		if(lang=='de'){
			alert('Bitte geben Sie eine gültige E-Mailadresse ein.');
		}else if(lang=='it'){
			alert('Inserisci un indirizzio mail valido.');
		}else{
			alert('Please enter a valid email address.');			
		}
		return false;
	} 

	
	if (document.getElementById('msg-txt').value=='') {
		if(lang=='de'){
			alert('Bitte geben Sie Ihre Nachricht ein.');
		}else if(lang=='it'){
			alert('Inserisci il tuo messaggio.');
		}else{
			alert('Please enter your message.');
		}
		return false;
	}
	
	return true;
}
