var CurrentMsg = 'hello ';                    

function update(msg) {                           

var pad_str="";                           

n = msg.length;                           

if(n<29) {                                   

pad = (30-n)/2;                                   

for(var i=0; i<pad; i++) {                                           

pad_str+=" ";                        

   }                        

}                          

CurrentMsg = pad_str + msg;                           

document.cover_message.field.value = CurrentMsg;

clearTimeout(timer);                           

timer = setTimeout("idleMsg()",4600);        

}                           

function MakeArray(n) {                           

this.length=n;                           

for(var i = 1; i<= n; i++) {                                   

this[i] = "";                

}                           

return(this);        

}               

var index = 1;           

var notice_num = 8;      
<!-- You CAN add more lines, just make total number equal the number above -->
             
var notices = new MakeArray(notice_num);   

<!-- Do not enter more than 49 letters, up to the star          * -->
<!--                                                            | -->
<!--                                                            | -->
<!--                                                            V -->

notices[1] = "  Welcome to the Eleanor Sonsini Animal Shelter";

notices[2] = "  ";

notices[3] = "  Can't Adopt A Pet Right Now? ...";        

notices[4] = "  ...Check out our 'Volunteer Opportunities'"; 

notices[5] = "  Our Shelter Wish List - 'Ways You Can Help'";

notices[6] = "  For an Updated List of Animals at our Shelter...";

notices[7] = "  Go to Petfinder.com or use the link located";

notices[8] = "  at the bottom of our Dogs to Adopt page"; 

var timer = setTimeout('idleMsg()',3500);                   

function nochange() {                           

document.cover_message.field.value = CurrentMsg;        

}                   

function idleMsg() {                           

update(notices[index++]);                           

if(index>notice_num) { 

index=1; 

	}

}	  






