slBANNERstart(dir);

function slBANNERstart(dir)
{                
	document.write('<a href="#" name="'+dir+'" id= "img" onclick="d_img=document; var text=unescape(d_img.selection ? d_img.selection.createRange().text : (d_img.getSelection?d_img.getSelection():\'\')); if(text.length >= 1000){alert(\'The TTS service allows 1000 characters only! You have selected \' + text.length + \' character(s). The text will be trimmed.\');text = text.substring(0,999); } window.open(\'http://text-to-speech.imtranslator.net/speech.asp?url=WMban&dir=\'+ document.getElementById(\'img\').name + \'&text=\' + text).focus(); return false;" style="cursor:pointer;"><img src= "http://text-to-speech.imtranslator.net/images/tts_.gif" title="ImTranslator TTS Voice speaks any text in English, French, German, Italian, Portuguese, Russian and Spanish languages. Essential for educational and language learning needs." border=0"></a>');
}
