/* This script and many more are available free online at 
The JavaScript Source :: http://javascript.internet.com 
Created by: Sandeep Gangadharan :: http://sivamdesign.com/scripts/ 
Licensed under: U.S. Copyright */ 

var text = 0; 

var message=new Array(); 
message[0] = "\nPrograma Ejecutivo - Tijuana, México" 
message[1] = "\nPrograma Grupal - Tijuana, México"  
message[2] = "\nPrograma Ejecutivo - Reynosa, México" 
message[3] = "\nPrograma Selecto Individual - Ciudad de México"  
message[4] = "\nPrograma Grupal - Cd. Juárez, México" 
message[5] = "\nPrograma Ejecutivo - Torreón, México"  
message[6] = "\nPrograma Ejecutivo - Querétaro, México" 
message[7] = "\nPrograma Selecto Individual - Monterrey, México"
message[8] = "\nPrograma Selecto Individual - Matamoros, México"
message[9] = "\nPrograma Ejecutivo Individual - Mexicali, México"

function changeText() { 
if (message.length > 0) { 
document.change.descript.value=message[text]; 
text++; 
} 

if (text == 4) {text = 0; } // change the # 4 at the left to the maximum # of message lines you want included 
window.setTimeout("changeText()", 5000); } // change the # on the left to adjust the speed of the 
// scroll. The smaller the # the faster the speed 

// Multiple onload function created by: Simon Willison 
// http://simon.incutio.com/archive/2004/05/26/addLoadEvent 
function addLoadEvent(func) { 
var oldonload = window.onload; 
if (typeof window.onload != 'function') { 
window.onload = func; 
} else { 
window.onload = function() { 
if (oldonload) { 
oldonload(); 
} 
func(); 
} 
} 
} 

addLoadEvent(function() { 
changeText();
}); 

