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 = 4;                   
var notices = new MakeArray(notice_num);   
notices[1] = "  Welcome to Angel Connections..."; 
notices[2] = "  Upcoming Alternative Connections Expo"; 
notices[3] = " Sunday, January 28th, 2007 at the... ";
notices[4] = " Crowne Plaza Hotel - Cromwell, CT ";

var timer = setTimeout('idleMsg()',3500);                   
function nochange() {                           
document.cover_message.field.value = CurrentMsg;        
}                   
function idleMsg() {                           
update(notices[index++]);                           
if(index>notice_num) { 
index=1; 
	}
}	  


