var timerRunning = false;

function stopclock ()
{
        if(timerRunning)
                clearTimeout(timerID);
        timerRunning = false;
}

function startclock ()
{
        stopclock();
        showtime();
}

function showtime ()
{
        var now = new Date();
        var hours = now.getHours();
        var minutes = now.getMinutes();
        var seconds = now.getSeconds();
       	timeValue = "";
        timeValue += hours;
        timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
        timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
        document.clock.face.value = timeValue;

        // you could replace the above with this
        // and have a clock on the status bar:
        // window.status = timeValue;
        // and have a clock on the status bar:
        // window.status = timeValue;

        timerID = setTimeout("showtime()",1000);
        timerRunning = true;
}
//date begins here


var sent = false;
var strSVIDate;
var oNow = new Date();
var iNowDay = oNow.getDay();
var iNowHours = oNow.getHours();
var iNowMinutes = oNow.getMinutes();
var iNowYear = oNow.getYear();
var iNowMonth = oNow.getMonth();
var iNowDayOfMonth = oNow.getDate();
var arrDays = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
var arrMonths = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul","Aug", "Sep", "Oct", "Nov", "Dec");

var strDayToday = arrDays[iNowDay];
var strMonthToday = arrMonths[iNowMonth];

if (iNowDayOfMonth <= 9){
	iNowDayOfMonth = "0" + iNowDayOfMonth;
}
if (iNowMonth <= 9){
	iNowMonth = "0" + iNowMonth;
}
if (iNowMinutes <= 9){
	iNowMinutes = "0" + iNowMinutes;
}
strSVIDate = strDayToday + " " + iNowDayOfMonth + " " + strMonthToday + " " + iNowYear + "<br>Local Time: " + iNowHours + ":" + iNowMinutes + "";




