/* THIS GOES IN THE <head> OF YOUR HTML DOCUMENT BELOW >> <script language="JavaScript">   <<<Below
JavaScript Source: http://javascript.internet.com
     Time script    */
var osd = " ";		/*  Tag line  */
osd +="Hear O Yisra'el, Yahuwah our 'Elohiym is united/first as Yahuwah!   Dabariym  6:4  [deut. 6:4].";  
osd +="  ";
var timer;
var msg = "  ";
function scrollMaster () {
msg = customDateSpring(new Date());
clearTimeout(timer);
msg += " " + showtime() + " " + osd;
for (var i= 0; i < 100; i++){
msg = " " + msg;
}
scrollMe();
}
function scrollMe(){
window.status = msg;
msg = msg.substring(1, msg.length) + msg.substring(0,1);
timer = setTimeout("scrollMe()", 200);
}
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(n) {
this.length = n;
return this;
}
monthNames = new MakeArray(12);
monthNames[1] = "1st Pagan Roman Month";
monthNames[2] = "2nd Pagan Roman Month";
monthNames[3] = "3rd Pagan Roman Month";
monthNames[4] = "4th Pagan Roman Month";
monthNames[5] = "5th Pagan Roman Month";
monthNames[6] = "6th Pagan Roman Month";
monthNames[7] = "7th Pagan Roman Month";
monthNames[8] = "8th Pagan Roman Month";
monthNames[9] = "9th Pagan Roman Month";
monthNames[10] = "10th Pagan Roman Month";
monthNames[11] = "11th Pagan Roman Month";
monthNames[12] = "12th Pagan Roman Month";
daysNames = new MakeArray(7);
daysNames[1] = " Yahuwah's 1st day";
daysNames[2] = "Yahuwah's 2nd day";
daysNames[3] = "Yahuwah's 3rd day";
daysNames[4] = "Yahuwah's 4th day";
daysNames[5] = "Yahuwah's 5th day";
daysNames[6] = "Yahuwah's preparation day (until sundown, then it is Yahuwah's Shabbath!)";
daysNames[7] = "Yahuwah's Shabbath! (until sundown)";
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 + ", the " + theDate + dayth + " day of the " + theMonth + " -" ;
}
scrollMaster();
// End date script 


