function rating(id,ocena,ile){

for(i=ile;i>=ocena;i--)
{
document.getElementById("b"+i).style.background = "";
}

for(i=1;i<=ocena;i++)
{
document.getElementById("b"+i).style.display="";
document.getElementById("b"+i).style.background = "url(images/1.png)";

}

}

function spr_create(frm) {
	
	if (frm.nazwa.value=="") {
		alert("Podaj nazwe.");
		return false;
	}
	if (frm.plik.value=="") {
		alert("Podaj plik.");
		return false;
	}
}

function ukryj() {

document.getElementById("ukryj").style.display="none";
}



setTimeout("ukryj()",5000);

function openemot(){
document.getElementById("emot").style.display="";
}
function closeemot(){
document.getElementById("emot").style.display="none";
}

function td(id){
	document.getElementById("t"+id).style.background="#cfcfcf";
}

function tz(id){

        document.getElementById("t"+id).style.background="";
}
