function Testuj() 
	{
	var ile=document.getElementById('tresc_og').value.length;
	var wszystkich =800;
	
	document.getElementById('limit').innerHTML=wszystkich-ile;
	if(ile>wszystkich) document.getElementById('tresc_og').value = document.getElementById('tresc_og').value.slice(0,wszystkich);
	}
	
	
	sfHover = function() {
var sfEls = document.getElementById("navigation").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=" sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}
}
}