
// SET THE VARIABLES BELOW

// Set your messages below -- follow the pattern. To add more messages, just add more elements to the array.

// leave this as is

var message = new Array() 
message[0] = "";
message[1] = "St. Anns College of Engineering & Technology";
message[2] = "St. Anns College of Pharmacy";
message[3] = "St. Anns Engineering College";
message[4] = "St. Anns College of P. G. Studies";
message[5] = "St. Anns Polytechnic College";


// Set the number of repetitions (how many times the arrow cycle repeats with each message).

var reps = 1000

// Set the overall speed (larger number = slower action).

var speed = 800

// Don't Modify this 
// ============================

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>6){s=1}
// you can fiddle with the patterns here...
if(s==1){document.title=''+T+' St. Anns College of Engineering & Technology'}
if(s==2){document.title=''+T+' St. Anns College of Pharmacy'}
if(s==3){document.title=''+T+' St. Anns Engineering College'}
if(s==4){document.title=''+T+' St. Anns College of P.G.Studies'}
if(s==5){document.title=''+T+' St. Anns Polytechnic College'}
if(C<(6*reps)){
sT=setTimeout("A()",speed);
C++
}else{
C=0;
s=0;
mC++;
if(mC>p-1)mC=0;
sT=null;
doTheThing();}}
doTheThing();

