// -------------------------------------------------------------------------
 var sentence_length;
 var num_of_sentences;
 var x=0, pos=0;

// --------------------------------------------------------------------------
// Write below the sentences you want display
// --------------------------------------------------------------------------
 sentence = new textlist( 
 "Welcome to ATLASCOM Site. This site is devoted to LOGIC, LIFE, and Business as Usual.",
 "1, 2, 3, 4, ..................................",
 "Our business is to realize solutions on:  System & Application Level Software Development, on Assesment & ",
"Data Modeling and on Designing and Prototyping of Analog & Digital Electronics Systems & Solutions.",
 "1, 2, 3, 4, ..................................",
 "For the True Meaning of Living click on the Epicurus image & For what Meaning Means, click on the Aristotles image.",
 "1, 2, 3, 4, ..................................",
 "Δει δη τας πολεις, ουκ αναθημασιν, αλλα ταις των οικουντων και διοικουντων αρεταις κοσμειν. (ΖΕΝΟΝ)",
 "1, 2, 3, 4, ..................................",
 "Should you have any questions, please feel free to contact us by clicking on the ATLASCOM logo above.",
 "1, 2, 3, 4, ......10........................"
                        );
      
 sentence_length = sentence[0].length; //lenght of the first sentence

// --------------------------------------------------------------------------
// Array initializer
// --------------------------------------------------------------------------
function textlist()
 {
  var i;
  num_of_sentences=textlist.arguments.length;
  for (i=0; i<num_of_sentences; i++) this[i]=textlist.arguments[i];
  return;
 }

// --------------------------------------------------------------------------
function textticker()
 {
 document.tickform.tickfield.value = sentence[x].substring(0,pos) + "_";
  if(pos++ >= sentence_length)
    { 
     pos = 0; 
     setTimeout('textticker()',1000); 
     x++;
     if(x >= num_of_sentences) {x=0;}
     sentence_length = sentence[x].length; 
    } 
   else setTimeout('textticker()',50);
  return;
 }
// --------------------------------------------------------------------------

textticker(); //Call function

// -------------------------------------------------------------------------
// END OF SCRIPT
// -------------------------------------------------------------------------
