tid = 0;
pause = 0;
var to;
var bcount;
var tcount;

function bannerArray() {
   this.length = 54;
   this[1] = "                                 C";
   this[2] = "                                CO";
   this[3] = "                               CON";
   this[4] = "                              CONC";
   this[5] = "                             CONCU";
   this[6] = "                            CONCUR";
   this[7] = "                           CONCURS";
   this[8] = "                          CONCURSO";
   this[9] = "                         CONCURSO ";
   this[10] = "                        CONCURSO ¡";
   this[11] = "                       CONCURSO ¡M";
   this[12] = "                      CONCURSO ¡MI";
   this[13] = "                    CONCURSO ¡MI ";
   this[14] = "                   CONCURSO ¡MI F";
   this[15] = "                  CONCURSO ¡MI FA";
   this[16] = "                 CONCURSO ¡MI FAC";
   this[17] = "                CONCURSO ¡MI FACT";
   this[18] = "               CONCURSO ¡MI FACTU";
   this[19] = "              CONCURSO ¡MI FACTUR";
   this[20] = "             CONCURSO ¡MI FACTURA";
   this[21] = "            CONCURSO ¡MI FACTURA ";
   this[22] = "           CONCURSO ¡MI FACTURA P";
   this[23] = "          CONCURSO ¡MI FACTURA PO";
   this[24] = "         CONCURSO ¡MI FACTURA POR";
   this[25] = "        CONCURSO ¡MI FACTURA POR ";
   this[26] = "       CONCURSO ¡MI FACTURA POR F";
   this[27] = "      CONCURSO ¡MI FACTURA POR FA";
   this[28] = "     CONCURSO ¡MI FACTURA POR FAV";
   this[29] = "    CONCURSO ¡MI FACTURA POR FAVO";
   this[30] = "   CONCURSO ¡MI FACTURA POR FAVOR";
   this[31] = "  CONCURSO ¡MI FACTURA POR FAVOR!";
   this[32] = " ";
   this[33] = "  CONCURSO ¡MI FACTURA POR FAVOR! ";
   this[34] = " ";
   this[35] = " CONCURSO ¡MI FACTURA POR FAVOR! ";
   this[36] = "CONCURSO ¡MI FACTURA POR FAVOR! ";
   this[37] = "ONCURSO ¡MI FACTURA POR FAVOR! ";
   this[38] = "NCURSO ¡MI FACTURA POR FAVOR! ";
   this[39] = "CURSO ¡MI FACTURA POR FAVOR! ";
   this[40] = "URSO ¡MI FACTURA POR FAVOR! ";
   this[41] = "RSO ¡MI FACTURA POR FAVOR! ";
   this[42] = "SO ¡MI FACTURA POR FAVOR! ";
   this[43] = "O ¡MI FACTURA POR FAVOR! ";
   this[44] = " ¡MI FACTURA POR FAVOR! ";
   this[45] = "¡MI FACTURA POR FAVOR! ";
   this[46] = "MI FACTURA POR FAVOR! ";
   this[47] = "I FACTURA POR FAVOR! ";
   this[48] = " FACTURA POR FAVOR! ";
   this[49] = "FACTURA POR FAVOR! ";
   this[50] = "ACTURA POR FAVOR! ";
   this[51] = "CTURA POR FAVOR! ";
   this[52] = "TURA POR FAVOR! ";
   this[53] = "URA POR FAVOR! ";
   this[54] = "RA POR FAVOR! ";
   this[55] = "A POR FAVOR! ";
   this[56] = " POR FAVOR! ";
   this[57] = "POR FAVOR! ";
   this[58] = "OR FAVOR! ";
   this[59] = "R FAVOR! ";
   this[60] = " FAVOR! ";
   this[61] = "FAVOR! ";
   this[62] = "AVOR! ";
   this[63] = "VOR! ";
   this[64] = "OR! ";
   this[65] = "R! ";
   this[66] = "! ";

   return this
}


function MakeArray(n) {
	this.length = n;
	return this
}


banner = new bannerArray();
IMAbanner = 1;


function banner1(n) {
		tid=window.setTimeout("banner1(IMAbanner)",to);
		f.result.value = banner[IMAbanner];
                //window.status = banner[IMAbanner];
		IMAbanner = IMAbanner + 1;
		if (IMAbanner == 66) {
			IMAbanner = 1;
				window.clearTimeout(tid);
				tid=window.setTimeout("banner1()",to);
		}
}


function start(x) {
		f=x;
                to=66;
		banner1(x);
}


function pausing(x) {
	if (pause == 0) {
		pause = 1;
		f.P.value = "Paused";
		window.clearTimeout(tid);
	}
	else {
		pause = 0;
		f.P.value = " ";
		banner1(x);
	}
}


function speedup() {
	if (to != 0) {
		to = to-33;
	}
}

function slowdown() {
	to = to+33;
}


function refr() {
	to = 90;
	IMAbanner = 1;
}


function cleartids() {
	window.clearTimeout(tid);
}
onunload = cleartids