
		function movein(src) {
		
		if (!src.contains(event.fromElement)) {
		  src.style.cursor = 'hand';		 
			src.className = 'navthis';
		  }
		}
		function moveout(src) {
		
		if (!src.contains(event.toElement)) {
		  src.style.cursor = 'default';			
		  src.className = 'navdown';
		  }
		}
		function movein_corner(src) {
		
		if (!src.contains(event.fromElement)) {
		  src.style.cursor = 'hand';		 
			src.className = 'navthis_corner';
		  }
		}
		function moveout_corner(src) {
		
		if (!src.contains(event.toElement)) {
		  src.style.cursor = 'default';			
		  src.className = 'navdown_corner';
		  }
		}
		

function checkemailformat(email)
{
	var error_email=false;
	if (email==""){
	var error_email=true;
	}
	else if(email.indexOf("@")==-1||email.indexOf(".")==-1||email.length<5){
	var error_email=true;
	}

return error_email;
}


function checkandsubmit()
{
	var error=false;
	var message="";
		
	if(checkemailformat(document.form.email.value))
		{
		var error=true;
		var message="Die Eingabe im Feld E-mail ist nicht gültig oder nicht vorhanden";
		
	}
	if (error==true){
	alert(message);
	}
	else{
	document.form.submit();
	}	

}