// title_main.js
var message = new Array();
// Set your messages below -- follow the pattern.
// Ponga sus mensajes abajo -- siga el ejemplo.
// To add more messages, just add more elements to the array.
// Para agregar más mensajes, solo agrege más elementos al array(arreglo).
message[0] = "Web Site to Jehovah God...";
message[1] = "Sitio Web para Jehová Dios...";
message[2] = "This isn't a Official WebSite of the Jehovah's Witnesses.";
message[3] = "Este no es un Sitio Web Oficial de los Testigos de Jehová.";
message[4] = " --- ";
// Set the number of repetitions (how many times the arrow cycle repeats with each message).
// Ponga el número de repeticiones.
var reps = 2;
var speed = 200;  // Set the overall speed (larger number = slower action).
// DO NOT EDIT BELOW THIS LINE.
// NO EDITE LAS LINEAS DE ABAJO DE AQUÍ.
var p = message.length;
var T = "";
var C = 0;
var mC = 0;
var s = 0;
var sT = null;
if (reps < 1) reps = 1;
function doTheThing() {
T = message[mC];
A();
}
function A() {
s++;
if (s > 8) { s = 1;}
// you can fiddle with the patterns here...
if (s == 1) { document.title = '| =YeHoWaH===== | '+T+' -----'; }
if (s == 2) { document.title = '| ==YeHoWaH==== | '+T+' -----'; }
if (s == 3) { document.title = '| ===YeHoWaH=== | '+T+' -----'; }
if (s == 4) { document.title = '| ====YeHoWaH== | '+T+' -----'; }
if (s == 5) { document.title = '| =====YeHoWaH= | '+T+' -----'; }
if (s == 6) { document.title = '| ====YeHoWaH== | '+T+' -----'; }
if (s == 7) { document.title = '| ===YeHoWaH=== | '+T+' -----'; }
if (s == 8) { document.title = '| ==YeHoWaH==== | '+T+' -----'; }
if (C < (8 * reps)) {
sT = setTimeout("A()", speed);
C++;
}
else {
C = 0;
s = 0;
mC++;
if(mC > p - 1) mC = 0;
sT = null;
doTheThing();
   }
}
doTheThing();