	var wechsel = 1;
	var anzahl = 11;
	function BildWechsel()
		{
			zeit = new Date();
			wechsel = zeit.getTime() * Math.random();
			wechsel = Math.floor(wechsel);
			wechsel = wechsel % anzahl;
			document ["wechselbild"].src="../fileadmin/images/cv/cv"+wechsel+".jpg";
			window.setTimeout('BildWechsel();',5000);
		}
function UnCryptMailto(s) {
	var n=0;
	var r="";
	for(var i=0;i<s.length;i++) { 
		n=s.charCodeAt(i); 
		if (n>=8364) {n = 128;}
		r += String.fromCharCode(n-(1)); 
	}
	return r;
}
function linkTo_UnCryptMailto(s)	{
	location.href=UnCryptMailto(s);
}

function validate()
{


if (document.mailform.vorname.value == "")
                {
                alert("Please enter your name!");
                document.mailform.vorname.focus();
        return false;
        }

if (document.mailform.nachname.value == "")
                {
                alert("Please enter your last name	!");
                document.mailform.nachname.focus();
        return false;
        }

if ((document.mailform.tel.value == "")&&(document.mailform.email.value == ""))
                {
                alert("Please enter either your phone number or your email-adress!");
                document.mailform.tel.focus();
        return false;
        }

return true;
}
