// This file puts the current date in the title bar
<!--Hide from JS-Impaired Browsers

// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************

function writeIt() {

var now = new Date();
var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
var months = new Array('Jan.','Feb.','Mar.','Apr.','May','Jun.','Jul.','Aug.','Sep.','Oct.','Nov.','Dec.');
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
function y2k(number){return (number < 1000) ? number + 1900 : number;}
today =  days[now.getDay()] + ", " +
               months[now.getMonth()] + " " +
                date + ", " +
                (y2k(now.getYear())) ;

   if(document.all || document.getElementById){ // Browser Check
      document.title = document.title +" - " +  today.toString();
   }else{
      self.status = today.toString(); 
   }
}

writeIt();

//-->

