
function add_m_o(){

var zrodl = $("#zrodlo").val();

if(zrodl=="embed")
{
	$("#adres").html("Kod embed");
	$('#m_img').show('slow', function() {});
}
else
{
	$("#adres").html("Adres");
	$('#m_img').hide('slow', function() {});
}

}

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 ukryj() {

document.getElementById("ukryj").style.display="none";
}

function potwierdz()
{
  if (confirm("Czy na pewno chesz skasować?")==false)
  return false;
}



setTimeout("ukryj()",5000);

function openemot(){
document.getElementById("emot").style.display="";
}
function closeemot(){
document.getElementById("emot").style.display="none";
}
