 var pom_obrazek;
 var pom_pruhl;

function Pruhlednost(obrazek, aktual_pruhl)   //pruhlednost se postupne zvetsuje
{
 //v css bude hidden
 obrazek.style.visibility = 'visible';

 if(obrazek.style.opacity != null) obrazek.style.opacity = aktual_pruhl/100;
 else if(obrazek.style.filter != null) obrazek.style.filter = 'alpha(opacity='+aktual_pruhl+')';

 aktual_pruhl += 5;

 if(aktual_pruhl<=100)
 {
  //alert('test');
  pom_obrazek = obrazek;
  pom_pruhl = aktual_pruhl;
  setTimeout('Pruhlednost(pom_obrazek, pom_pruhl)',100);
 }
};

function test(id)
{

 objekt = document.getElementById(id);

 objekt.style.opacity = 0.1;
 objekt.style.filter = 'alpha(opacity=10)';
}

