// JavaScript Document

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var osd = " ";
osd +="Welcome to I. N. A. A. - The Ijaw National Alliance of the Americas, on the web. ";
osd +=" Watchout for 2005 BORO DAY (May 21) and 7th INAA Service Award Ceremony to be held in the USA...  ";
osd +=" The Ijaws are a people of over 14 Million, major aborigines of the Niger Delta region of Nigeria.";
osd +=" Crude Oil was first discovered in Nigeria at the Ijaw town of OLOIBIRI in Bayelsa State in 1956.";
osd += " On Saturday November 20, 1999, the Nigerian armed forces on direct orders of the President, Gen. Olusegun Obasanjo, ravaged the Ijaw town of Odi in Bayelsa State, killing many innocent men, women and children in what has been described as the worst human rights violation of the government.";

osd +=" ";
var timer;
var msg = "";

function scrollMaster (msg1) {
var msg = msg1;
clearTimeout(timer)
scrollMe();
}

// scroll msg on status bar
function scrollMe(){
 window.status = msg;
 msg = msg.substring(1, msg.length) + msg.substring(0,1);
 timer = setTimeout("scrollMe()", 200);
}
//function scrolMe ends

//function showtime
function showtime (){
 var now = new Date();
 var hours= now.getHours();
 var minutes= now.getMinutes();
 var seconds= now.getSeconds();
 var months= now.getMonth();
 var dates= now.getDate();
 var years= now.getYear();
 var timeValue = ""
 timeValue += ((months >9) ? "" : " ")
 timeValue += ((dates >9) ? "" : " ")
 timeValue = ( months +1)
 timeValue +="/"+ dates
 timeValue +="/"+  years
 var ap="A.M."
 if (hours == 12) {
  ap = "P.M."
 }
 if (hours == 0) {
  hours = 12
 }
 if(hours >= 13){
  hours -= 12;
  ap="P.M."
 }
 var timeValue2 = " " + hours
 timeValue2 += ((minutes < 10) ? ":0":":") + minutes + " " + ap
 return timeValue2;
}

// function MakeArray
function MakeArray(n) {
 this.length = n
 return this
}
monthNames = new MakeArray(12)
monthNames[1] = "Janurary"
monthNames[2] = "February"
monthNames[3] = "March"
monthNames[4] = "April"
monthNames[5] = "May"
monthNames[6] = "June"
monthNames[7] = "July"
monthNames[8] = "August"
monthNames[9] = "Sept."
monthNames[10] = "Oct."
monthNames[11] = "Nov."
monthNames[12] = "Dec."
daysNames = new MakeArray(7)
daysNames[1] = "Sunday"
daysNames[2] = "Monday"
daysNames[3] = "Tuesday"
daysNames[4] = "Wednesday"
daysNames[5] = "Thursday"
daysNames[6] = "Friday"
daysNames[7] = "Saturday"

// functn customDateSpring
function customDateSpring(oneDate) {
 var theDay = daysNames[oneDate.getDay() +1]
 var theDate =oneDate.getDate()
 var theMonth = monthNames[oneDate.getMonth() +1]
 var dayth="th"
 if ((theDate == 1) || (theDate == 21) || (theDate == 31)) {
  dayth="st";
 }
 if ((theDate == 2) || (theDate ==22)) {
  dayth="nd";
 }
 if ((theDate== 3) || (theDate  == 23)) {
  dayth="rd";
 }
 return theDay + ", " + theMonth + " " + theDate + dayth + ","
}

// computes final msg
 msg = customDateSpring(new Date())

 msg += " " + showtime() + " " + osd
 for (var i= 0; i < 100; i++){
  msg = " " + msg;
 }

scrollMaster(msg);