function e10()
{
document.getElementById("e1").style.backgroundImage="";
}
function e1()
{
document.getElementById("e1").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";
if(document.getElementById("e2").style.backgroundImage!="")
{
document.getElementById("e2").style.backgroundImage="";

}
 if(document.getElementById("e3").style.backgroundImage!="")
{
document.getElementById("e3").style.backgroundImage="";

}

 if(document.getElementById("e4").style.backgroundImage!="")
{
document.getElementById("e4").style.backgroundImage="";

}
 if(document.getElementById("e5").style.backgroundImage!="")
{
document.getElementById("e5").style.backgroundImage="";

}
}
function e2()
{
document.getElementById("e2").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";
document.getElementById("e1").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";
 if(document.getElementById("e3").style.backgroundImage!="")
{
document.getElementById("e3").style.backgroundImage="";

}
 if(document.getElementById("e4").style.backgroundImage!="")
{
document.getElementById("e4").style.backgroundImage="";

}
 if(document.getElementById("e5").style.backgroundImage!="")
{
document.getElementById("e5").style.backgroundImage="";

}
}
function e3()
{
   if(document.getElementById("e4").style.backgroundImage!="")
{
document.getElementById("e4").style.backgroundImage="";

}
   if(document.getElementById("e4").style.backgroundImage!="")
{
document.getElementById("e5").style.backgroundImage="";

}
document.getElementById("e3").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";
document.getElementById("e2").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";
document.getElementById("e1").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";

}
function e4()
{
   if(document.getElementById("e5").style.backgroundImage!="")
{
document.getElementById("e5").style.backgroundImage="";

}
document.getElementById("e4").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";
document.getElementById("e3").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";
document.getElementById("e2").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";
document.getElementById("e1").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";

}
function e5()
{
document.getElementById("e5").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";
document.getElementById("e4").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";
document.getElementById("e3").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";
document.getElementById("e2").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";
document.getElementById("e1").style.backgroundImage="url('http://tarabadejocuri.ro/file/crir/tick.png')";

}
function d1()
{
  document.getElementById("d1").style.display="block";
  document.getElementById("d2").style.display="none";
  document.getElementById("d3").style.display="none";
  document.getElementById("d4").style.display="none";
  document.getElementById("a1").style.color="#fff";
  document.getElementById("a1").style.backgroundColor="#333";
    document.getElementById("a2").style.backgroundColor="";
    document.getElementById("a3").style.backgroundColor="";
    document.getElementById("a4").style.backgroundColor="";
document.getElementById("a2").style.color="#666";
document.getElementById("a3").style.color="#666";
document.getElementById("a4").style.color="#666";
}
function d2()
{
  document.getElementById("a1").style.color="#666";
document.getElementById("a3").style.color="#666";
document.getElementById("a4").style.color="#666";
  document.getElementById("d1").style.display="none";
  document.getElementById("d2").style.display="block";
  document.getElementById("d3").style.display="none";
  document.getElementById("d4").style.display="none";
    document.getElementById("a2").style.color="#fff"
  document.getElementById("a2").style.backgroundColor="#333";
    document.getElementById("a1").style.backgroundColor="";
    document.getElementById("a3").style.backgroundColor="";
    document.getElementById("a4").style.backgroundColor="";

}
function d3()
{
  document.getElementById("a1").style.color="#666";
document.getElementById("a2").style.color="#666";
document.getElementById("a4").style.color="#666";
  document.getElementById("d1").style.display="none";
  document.getElementById("d2").style.display="none";
  document.getElementById("d3").style.display="block";
  document.getElementById("d4").style.display="none";
  document.getElementById("a3").style.color="#fff"
  document.getElementById("a3").style.backgroundColor="#333";
    document.getElementById("a1").style.backgroundColor="";
    document.getElementById("a2").style.backgroundColor="";
    document.getElementById("a4").style.backgroundColor="";
}
function d4()



{
  document.getElementById("a2").style.color="#666";
document.getElementById("a3").style.color="#666";
document.getElementById("a1").style.color="#666";

     document.getElementById("a4").style.color="#fff"
  document.getElementById("a4").style.backgroundColor="#333";
    document.getElementById("a1").style.backgroundColor="";
    document.getElementById("a3").style.backgroundColor="";
    document.getElementById("a2").style.backgroundColor="";
  document.getElementById("d1").style.display="none";
  document.getElementById("d2").style.display="none";
  document.getElementById("d3").style.display="none";
  document.getElementById("d4").style.display="block";
}
