var t, d;
var months = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
weekDay = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
var z = " a.m.";

function show(v) {return (v > 9) ? "" + v : "0" + v} 

function statclock() {
now= new Date();
h= now.getHours();
if (h > 11 && h != 24) {if (h > 12) h = h - 12; z = " p.m.";}
 t= "" + h + ":" + show(now.getMinutes()) + z;
d= weekDay[now.getDay()] + ', ' + months[now.getMonth()] + ' ' + now.getDate() + ', ' + now.getFullYear() + '&nbsp;&nbsp;' + t;
 document.write("<NOBR>" + d + "</NOBR>");
}

function clock() {
now= new Date();
h= now.getHours();
if (h > 11 && h != 24) {if (h > 12) h = h - 12; z = " p.m.";}
 t= "" + h + ":" + show(now.getMinutes()) + z;
d= weekDay[now.getDay()] + ', ' + months[now.getMonth()] + ' ' + now.getDate() + ', ' + now.getFullYear() + '&nbsp;&nbsp;' + t;
document.clock.dt.value = d;
Timer= setTimeout("clock()",1000);
}

var a = '<BLOCKQUOTE><NOBR>', b = '</NOBR></BLOCKQUOTE>';
function print() {
if (navigator.appName == "Opera") {
} else {
if (navigator.userAgent.indexOf('Gecko') != -1)
{
 document.cl.top = 83;
document.cl.document.write(a + d + b);
document.cl.document.close();
} else  if (navigator.appName == "Netscape") {
document.cl.document.write(a + d + b);
document.cl.document.close();
} else {
document.all.cl.innerHTML = (a + d + b);
}
setTimeout("print()", (60 - now.getSeconds()) * 1000 + 1);
}
}


