function check1() {
	var m = document.getElementById("content1").value;
	var mm = m.length;
	var mmm = 0;
	document.getElementById("tegn1").value = mm;
	if(mm < 160) {
		document.getElementById("meld1").value = 1;
	}
	if(mm >= 160 && mm < 310) {
		document.getElementById("meld1").value = 2;
	}
	if(mm >= 310 && mm < 460) {
		document.getElementById("meld1").value = 3;
	}
	if(mm >= 460 && mm < 610) {
		document.getElementById("meld1").value = 4;
	}

	setTimeout("check1()" ,3);
}

function alll2() {
var m = document.f2.content.value;
var mm = m.length;
document.f2.t2.value = mm;
if(mm < 160) {
document.f2.m2.value = 1;
}
if(mm >= 160 && mm < 310) {
document.f2.m2.value = 2;
}
if(mm >= 310 && mm < 460) {
document.f2.m2.value = 3;
}
if(mm >= 460 && mm < 610) {
document.f2.m2.value = 4;
}

setTimeout("alll2()" ,3);
}

function alll3() {
var m = document.f3.content.value;
var mm = m.length;
document.f3.t2.value = mm;
if(mm < 160) {
document.f3.m2.value = 1;
}
if(mm >= 160 && mm < 310) {
document.f3.m2.value = 2;
}
if(mm >= 310 && mm < 460) {
document.f3.m2.value = 3;
}
if(mm >= 460 && mm < 610) {
document.f3.m2.value = 4;
}

setTimeout("alll3()" ,3);
}