

d = new Array(
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
);
m = new Array(
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
);

today = new Date();
day = today.getDate();
month = today.getMonth();
year = today.getYear();

if (year < 2000)    // Y2K Fix, Isaac Powell
year = year + 1900; // http://onyx.idbsu.edu/~ipowell

end = "th";
if (day==1 || day==21 || day==31) end="st";
if (day==2 || day==22) end="nd";
if (day==3 || day==23) end="rd";
day+=end;


var max=0;
function textlist() {
max=textlist.arguments.length;
for (i=0; i<max; i++)
this[i]=textlist.arguments[i];

}
tl = new textlist( 
"Welcome to SMOKESTORM.COM ..", 
"Today is: " + d[today.getDay()] + ", " +m[today.getMonth()] + " " + day +", " + year,
"NEWS FLASH ! ... ",
"We have just added a Video Demonstration of SmokeStorm In Action.. ",
"The Video demonstrates a Burglary in progress..",
"It is in Real Time and shows the speed that SmokeStorm operates !",
"Click on the video link below and see for yourself >>>>>>>>>>>"



);

var x = 0; pos = 0;
var l = tl[0].length;
function textticker() {
document.tickform.tickfield.value = tl[x].substring(0, pos) + "_";
if(pos++ == l) {
pos = 0; 
setTimeout("textticker()", 2000); 
if(++x == max) x = 0; 
l = tl[x].length;
} else
setTimeout("textticker()", 40);
}

window.onload=textticker;