function mailprintfooter22(a,b,c){
	document.write("<a href='mailto:"+a+"@"+b+"."+c+"' target='_blank'><span class='textklein' style='color:#b91a1b;'>"+a+"@"+b+"."+c+"</span></a>");
}


function mkdet(programm) {
	var includnow = "mk_"+programm+".php";
	$("#mkloader").html('<div align="center" style="width:100%;padding-top:20px;padding-bottom:20px;"><img src="/admin/images/ajax-loader.gif" border="0" /></div>');
	$("#mkloader").load("/templates/dotspot/includesOpen/"+includnow);
}

function mkreturn() {
	var includnow = "mk_uebersicht.php";
	$("#mkloader").html('<div align="center" style="width:100%;padding-top:20px;padding-bottom:20px;"><img src="/admin/images/ajax-loader.gif" border="0" /></div>');
	$("#mkloader").load("/templates/dotspot/includesOpen/"+includnow);

}


function isdomainda() {
	if(!validateEmail('mailkonfiguratoremailaddresse')) {
		document.getElementById("mailkonfiguratoremailaddresse").style.backgroundColor = "#db8a8b";
		$('#moreinfos').slideUp("slow");
	}else{
		document.getElementById("mailkonfiguratoremailaddresse").style.backgroundColor = "#ffffff";
		$('#moreinfos').slideDown("slow");
		setData(2);
	}
}
function setData(wosinddiedaten) {
	// ueber maladresse	
	var Email = $("#mailkonfiguratoremailaddresse").val();
	Domainnameneu  = Email.split("@");
	$("#mailkonfiguratorurl").val(Domainnameneu[1]);
	var Emailforuser = $("#mailkonfiguratoremailaddresse").val();
	$("#mailkonfiguratorusername").val(Emailforuser);
	
}
function mailkonf1() {
	var Fehler = 0;
	var muss = false;
	var Domainnameneu = $("#mailkonfiguratorurl").val();
	if( !Domainnameneu ) {
		document.getElementById('mailkonfiguratorurl').focus();
		Fehler++	
	}else{
		if(	Domainnameneu.length < 5 ) {
			document.getElementById('mailkonfiguratorurl').focus();
			Fehler++
		}else{
			if(!checkDomain(Domainnameneu) ) {
				document.getElementById('mailkonfiguratorurl').focus();
				Fehler++
			}
		}
	}
	if( Fehler == 0 ) {
		$("#gotosth").val("fff");
		document.bestellung1.submit();
	}else{
		alert("Bitte Überprüfen Sie Ihre Domain");
		return false;	
	}
}


function retour(){$("#gotosth").val("back");document.bestellung1.submit();}
function checkFeld(id){
	if(document.getElementById(id).value!="" && document.getElementById(id).value.length>=3 ){
		if(id!="email"){
			document.getElementById(id).style.backgroundColor = "#ffffff";
		}else{
			if(validateEmail(id)){
				document.getElementById(id).style.backgroundColor = "#ffffff";
			}else{
				document.getElementById(id).style.backgroundColor = "#db8a8b";
			}
		}
	}else{
		document.getElementById(id).style.backgroundColor = "#db8a8b";
	}
}

