home *** CD-ROM | disk | FTP | other *** search
- <SCRIPT LANGUAGE="JavaScript">
- <!-- begin script
- var pos1=0, pos2=0, newDelay, Fin2, MsgN;
- function multiLine(newDelay1) {
- newDelay = newDelay1;
- if (pos1 > MsgN.length) {
- document.formnew.multi1.value = '';
- pos1 = 0;
- pos2 = 0;
- }
- else if (MsgN.substring(pos1-2,pos1-1) == '.') {
- document.formnew.multi1.value = '';
- pos2 = pos1-1;
- pos1++;
- }
- else {
- document.formnew.multi1.value = MsgN.substring(pos1,pos2);
- pos1++;
- }
- Fin2 = setTimeout("multiLine(newDelay) ", newDelay1);
- }
- // end script -->
- </SCRIPT>
-