function calc() { 
var no=document.numero.nom.value;
var tlet="*a1*b2*c3*d4*e5*f6*g7*h8*i9*j1*k2*l3*m4*n5*o6*p7*q8*r9*s1*t2*u3*v4*w5*x6*y7*z8*é5*è5*ç3*à1*ù3*â1*ê5*û3*ô6*ä1*ü3*ö6*A1*B2*C3*D4*E5*F6*G7*H8*I9*J1*K2*L3*M4*N5*O6*P7*Q8*R9*S1*T2*U3*V4*W5*X6*Y7*Z8*11*22*33*44*55*66*77*88*99";
var tot=0;
for(var i=0;i<no.length;i++) {
	var let="*"+no.substring(i,i+1);
	var nlet=0; {
		for(var j=0;j<=tlet.length;j+=3)
		if(tlet.substring(j,j+2)==let) {
			nlet=tlet.substring(j+2,j+3);
			}
		}
	tot+=eval(nlet);
	}
if(tot==0) {
	alert("Interprétation impossible");self.location.reload();
	}
	else if(tot%9==0) {
	tot=9
	}
	else {
	tot=tot%9
	}
//alert("le resultat final est "+tot);
if(tot!=0) {
	self.location.href="hnum"+tot+".htm";
	}
}