textLines=new Array(	

			"<p>Latifah - kurzy a vystoupení orientálních tanců</p>",
			"<p>Ponořte se do orientálních rytmů v <a class='ticker' href='orientalni-tanec-latifah-tanecni-kurzy.php'>kurzech orientálních tanců</p>",
			"<p>Podívejte se na <a class='ticker' href='orientalni-tanec-latifah-videogalerie.php'>videa z vystoupení Latifah</a></p>",
			"<p>Navštivte <a class='ticker' href='orientalni-tanec-latifah-seminare.php'>semináře orientálních tanců</a>, které pořádá Latifah</p>",
			"<p>Latifah můžete vidět i naživo na některém z <a class='ticker' href='orientalni-tanec-latifah-vystoupeni.php'>vystoupení</a></p>",
			"<p><a class='ticker' href='kontakt-latifah.php'>Kontakujte Latifah pro bližší informace</a></p>"
      
      );


// The Text Line to start on (The first line is line 0).
numOn=0;

// Set the delay time inbetween each change (in seconds, decimal values can be used).
delay=5.0;

// Set this variable to 0 to stop mouse overs from stopping 
// the text from changing.
stopOK=1;

change=1;
window.onload=start;


function start(){
  setTimeout("Change()",1);
}


function Change(){

// Check to see if the user has their mouse over the text.
 if(change==1){

// Make sure we are on a valid Line Number and if not, set it to
// the starting line.
  if(numOn>=textLines.length||numOn<0){numOn=0}

// Set the text inside the <div> to the specified line number.
  textChanger.innerHTML=textLines[numOn];

// Increase the line number by one to get the next string.
  numOn++;
 }

// Call this function again to write the string to the <div>.
  setTimeout("Change()",delay*1000);
}
