Test 9
<script type="text/javascript"> function validate() { var form = document.ivonaform; a = form.tresc.value.length; b = 300; c = b-a; if(form.tresc.value.length<301) { form.flashdet.value = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision); pageTracker._trackPageview('/homepage/odczytaj'); ajaxRequest( 'http://www.expressivo.com/pl/say/', '', form.voice.value, Base64.encode(form.tresc.value) ); //document.ivonaform.submit(); } else { alert('Przekroczono limit 300 znaków.'); return false; } } function pokaz_ilosc_znakow() { a=document.ivonaform.tresc.value.length; document.ivonaform.znak.value=a; } function changeTexta( id ) { tarr = new Array(); tarr[3]="Cześć, jestem Jacek! Prawdopodobnie jestem najpopularniejszym głosem syntezatora mowy IVONA w Internecie. Mam dynamiczny, głęboki i radiowy głos. Często czytam książki, dokumenty i ścieżki filmowe. Wpisz tekst i sprawdź jak mój głos go przeczyta.";tarr[2]="Witaj, jestem Ewa. Jestem głosem syntezatora mowy IVONA. Mój głos jest ciepły i kobiecy. Chętnie przeczytam wszelkie dokumenty, książki, teksty w Internecie i wszystko czego potrzebujesz. Wpisz tekst i sprawdź jak mój głos go przeczyta.";tarr[7]="Witaj, nazywam się Maja. Jestem najnowszym, polskim głosem kobiecym, syntezatora mowy IVONA. Mój głos jest radosny i dziewczęcy. Znakomicie brzmi czytając teksty prezentacji, książki czy strony Internetowe. Wpisz tekst i sprawdź jak mój głos go przeczyta.";tarr[6]="Cześć, jestem Jan. Jestem najnowszym, polskim głosem męskim, syntezatora mowy IVONA. Mój głos jest głęboki, niski, z radiowym charakterem. Dobrze czytam książki, teksty dokumentów i ścieżki filmowe. Wpisz tekst i sprawdź jak mój głos go przeczyta.";tarr[1]="Hi, I am Jennifer, one of the IVONA Text-To-Speech voices. The IVONA TTS was recognized by the world's famous experts as the best. Did you know that?";tarr[4]="Bună, eu sunt Carmen, una dintre vocile sintetizatorului vocal Ivona. Eu pot citi totul în limba română. Încearcă-mă.";tarr[5]="Hi, I'm called Eric. I'm a new Ivona voice. Ivona has been acclaimed by experts around the world as the best text to speech engine. Did you know that?";tarr[8]="Hi, how are you doing today? I'm Amy, the next generation British English voice of IVONA Text-to-Speech. What do you think about the sound of my voice? Enter here any text, click Read and find out yourself. You can also try me on your PC.";tarr[9]="Hi, how are you doing? I'm Brian, the next generation British English voice of IVONA Text-to-Speech. What do you think about my sounding? Enter here any text, click Read and find out yourself. Also, you can try me on your PC."; var form = document.ivonaform; form.tresc.value=tarr[id]; form.voice.value=id; a = form.tresc.value.length; form.znak.value = a; var bg = new Array(); bg[2] = "url(/images/home3/main_voices_select_pol.gif)"; //ewa bg[3] = "url(/images/home3/main_voices_select_pol.gif)"; //jacek bg[1] = "url(/images/home3/main_voices_select_usa.gif)"; //jennifer bg[5] = "url(/images/home3/main_voices_select_usa.gif)"; //eric bg[4] = "url(/images/home3/main_voices_select_rom.gif)"; //carmen bg[6] = "url(/images/home3/main_voices_select_pol.gif)"; //jan bg[7] = "url(/images/home3/main_voices_select_pol.gif)"; //maja bg[8] = "url(/images/home3/main_voices_select_gbr.gif)"; //amy bg[9] = "url(/images/home3/main_voices_select_gbr.gif)"; //brian jQuery("#voiceSel_link").css("background-image", bg[id]); } </script>