function mail_core(x){
	var m="";
	for(i=0;i<x.length;++i){
		m+=String.fromCharCode(1^x.charCodeAt(i));
	}
	return m;	
}

function mail(x){
	window.location=mail_core('l`hmun;'+x);
}

function mail_write(x){
	document.writeln(mail_core(x));
}
function check(e,id){
	var newid, key;
	if(window.event){
		key = e.keyCode
	}else if(e.which){
		key = e.which
	}
	if(key==13 || (id.value.length>=29 && key!=8)){ //saut de ligne ? ou suppr
		newid='z'+(parseInt(id.id.substr(1))+1);
		document.getElementById(newid).focus();
	}
}
function clean(id){
	if(id.value.charCodeAt(0)==10){ // saut de ligne ?
		id.value=id.value.substr(1);
	}
}
function go(){
	document.getElementById('contact').submit();
}
