// JavaScript Document
<!-- Begin
var CurrentMsg ='';
function update(msg) {
var pad_str="";
n = msg.length;
if(n<69) {
pad = 0;
for(var i=0; i<pad; i++) {
pad_str+=" ";
}
}
CurrentMsg = pad_str + msg;
document.messages.field.value = CurrentMsg;
clearTimeout(timer);
timer = setTimeout("idleMsg()",6000);
}
function MakeArray(n) {
this.length=n;
for(var i = 1; i<= n; i++) {
this[i] = "";
}
return(this);
}
var index = 1;
var notice_num = 9;
var notices = new MakeArray(notice_num);
notices[1] = "DISCOUNTS START ON ORDERS OF JUST £50 + VAT (EX DELIVERY)";
notices[2] = "THE MORE YOU BUY, THE GREATER THE DISCOUNT!";
notices[3] = "DISCOUNT BREAKPOINTS CAN BE SEEN BY CLICKING ON THE SHOPPING CART ICON.";
notices[4] = "";
notices[5] = "CAN'T FIND WHAT YOU ARE LOOKING FOR?";
notices[6] = "TRY THE SEARCH BOX AT THE TOP OF THE LEFT HAND COLUMN";
notices[7] = "FURTHER INFORMATION ABOUT AN ITEM CAN ALSO BE SEEN";
notices[8] = "BY CLICKING ON THE BLUE INFO ICON ( i ) NEAR THE PRODUCT TITLE";
notices[9] = "";
var timer = setTimeout('idleMsg()',1500);
function nochange() {
document.messages.field.value = CurrentMsg;
}
function idleMsg() {
update(notices[index++]);
if(index>notice_num) {
index=1;
}
}
// End -->