      // Funkce, která nastaví třídu HTML elementu
      // identifikovaného dle Id a tím změní jeho
      // vzhled
      function SetClass (Element, Style)
	  {
        document.getElementById(Element).className = Style;
      }
		//zobrazit select || text input pro vyber cis. soust
	  function showhide(what)
	  {
		if(what==1)
		{
			SetClass('abecedaa', 'stylevis');
			SetClass('abecedab', 'styleinvis');
		};
		if(what==2)
		{
			SetClass('abecedaa', 'styleinvis');
			SetClass('abecedab', 'stylevis');
		}
	  }
      //vymazani textareas (MSIE only)
	  function cleartxtarea(){
        document.forms[0].txtfrom.innerText = "";
		document.forms[0].txtto.innerText = "";
      }
	  //zneviditelneni tlacitka "Vymazat" protoze funguje jen v MSIE
	  //protoze jen MSIE podporuje innerHTML
	  function testMSIE()
	  {
	  	if (!(document.all))
		{
			SetClass('clearbutt', 'styleinvis');
		}
	  }