text: document.getElementById("id_logic_version").innerHTML = "Logic version: 2018.12.04.5";
  var synth = window.speechSynthesis;
  //----------------------
  
  function afiseaza_voci()
  {
  	
  	var lista_voci = synth.getVoices();
  	document.getElementById("id_voci").innerHTML = "";
  	for (var i = 0; i < lista_voci.length; i++)
  		document.getElementById("id_voci").innerHTML +=
  				lista_voci[i].lang + " " + lista_voci[i].name + "<br>";
  				
  }
  //----------------------------
  function vorbeste()
  {
  	var enunt = new SpeechSynthesisUtterance();
  	enunt.text = document.getElementById("id_text").value;
  	enunt.lang = "en-US";
  	enunt.onend = sfarsit_vorbeste;
  	document.getElementById("id_button_vorbeste").disabled =true;
  	synth.speak(enunt);
  	
  	
  	
  }
  
  //----------------------------
  function sfarsit_vorbeste()
  {
  	document.getElementById("id_button_vorbeste").disabled =false;	
  	
  	
  }
  