function show(element){
           element.className += "hover";
}

function hide(element){
           element.className = element.className = "";
}


function statusActive(no) {
	var nummer = no;
	// alle anderen Klasse active entziehen
	for(var i = 1; i <= 5; i++) {
		var id_kwick = "kwick_"+i;
		if (!(i==nummer)) {
			document.getElementById(id_kwick).className='';
		}
		else {
			var id_active = "kwick_"+nummer;
			document.getElementById(id_active).className='active';
		}	
	}
}

function showContact() {
	document.getElementById('contact_right').style.display = 'block';
}

function openContact() {
	document.getElementById('landing_contact').className='landing_contact_active';
	document.getElementById('kontakt_aufnehmen').style.display = 'none';
}

function hideContact() {
	document.getElementById('contact_right').style.display = 'none';
}

function checkMandatory() {
if (document.landing_form.user.value == "") {
	document.getElementById('pflichtname').className='showpflicht';
	document.getElementById('pflichtmail').className='pflicht';
	document.landing_form.user.focus();
	return false;
}
if (document.landing_form.telefon.value == "" &&  document.landing_form.email.value == "") {
	document.getElementById('pflichtmail').className='showpflicht';
	document.getElementById('pflichtname').className='pflicht';
	document.landing_form.email.focus();
	return false;
}
}