<!--- Begin
var CurrentMsg = 'hello ';
function update(msg) {
var pad_str="";
n = msg.length;
if(n<72) {
pad = (73-n)/2;
for(var i=0; i<pad; i++) {
pad_str+=" ";
   }
}
CurrentMsg = pad_str + msg;
document.messages.field.value = CurrentMsg;
clearTimeout(timer);
timer = setTimeout("idleMsg()",3000);
}
function MakeArray(n) {
this.length=n;
for(var i = 1; i<= n; i++) {
this[i] = "";
}
return(this);
}
var index = 1;
var notice_num = 12;
var notices = new MakeArray(notice_num);
notices[1] = "Welcome to 'British Submarines of World War Two'";
notices[2] = "This site lists all RN submarines of WW2, plus some...";
notices[3] = "of the boats of other nations operating under RN control.";
notices[4] = "All the submarines are listed in the 34 pages that comprise...";
notices[5] = "the 'Submarine List', (link above) or from the table below";
notices[6] = "Pages should be optimised for all browsers";
notices[7] = "More submarine info can be found in 'On-Site Articles',";
notices[8] = "(above), or via links on the left side of this page. ";
notices[9] = "External Links, Webrings and Awards are on the Links page.";
notices[10] = "Email me if you have a question or contribution.";
notices[11] = "Email address -------> .";
notices[12] = "Thanks for visiting! Please enjoy! Any drips - see me!";
var timer = setTimeout('idleMsg()',3500);
function nochange() {
document.messages.field.value = CurrentMsg;
}
function idleMsg() {
update(notices[index++]);
if(index>notice_num) {
index=1;
   }
}
// End -->
