function Koloruj(tag,kolor) {
	tag.style.backgroundColor=kolor;
}
function NieKoloruj(tag,kolor) {
	tag.style.backgroundColor=kolor;
}

function emoticon(text) {
        text = ' ' + text + ' ';
        document.post.tresc.value += text;
        document.post.tresc.focus();
}
function zatwierdz(a){
	document.getElementById('akcja').value=a;
	document.zat_news.submit();
}