<!--
function gdate()
{

var mydate= new Date()
var theyear=mydate.getFullYear()
var themonth=mydate.getMonth()+1
var thetoday=mydate.getDate()
var tdate="        "+themonth+"/"+thetoday+"/"+theyear

document.mainform.datespot.value=tdate;
setTimeout("startclock()", 100)
//document.mainform.count2.value=GetDateDiff(date, "2/4/2011") + " days until raceday!"
//window.status='Welcome to The Bomber Nation';
//document.mainform.focus();
}

function startclock()
{
var thetime=new Date();

var nhours=thetime.getHours();
var nmins=thetime.getMinutes();
var nsecn=thetime.getSeconds();
var AorP=" ";

if (nhours>=12)
    AorP="P.M.";
else
    AorP="A.M.";

if (nhours>=13)
    nhours-=12;

if (nhours==0)
 nhours=12;

if (nsecn<10)
 nsecn="0"+nsecn;

if (nmins<10)
 nmins="0"+nmins;

document.mainform.clockspot.value="       "+nhours+":"+nmins+":"+nsecn+" "+AorP;

setTimeout('startclock()',1000);

}
function GetDateDiff(startDate, endDate)
{
    return endDate.getDate() - startDate.getDate();
}
gdate();
//-->
