// 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;
      }


//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 nonMSIEhide()
	  {
	  	if (!(document.all))
		{
			SetClass('MSIEbuttons', 'styleinvis');
		}
	  }