

Date.prototype.addMinutes = function (n) {this.setMinutes (this.getMinutes() + (n + this.getTimezoneOffset()))}
function f(x){ return (x>9)?x:'0'+x; }
var fr=0;

function wT(){ 
	var dt = new Date(); 
	dt.addMinutes(240);
	return dt;
}

function fY(x){ return (x<500) ? x+1900 : x; }
var ap='';


function hours(x){ ap=(x>11)?1:0; if(x==0){x=12} else if(x>12){x-=12}else{x}; return x; }
var tTt="TimeZone+': '+DayArray[wT().getDay()]+' '+wT().getDate()+' '+monthArray[wT().getMonth()]+' '+String(fY(wT().getYear())).substring(0,4)";
var tTd="hours(wT().getHours())+':'+f(wT().getMinutes())+'.'+f(wT().getSeconds())+' '+ampms[ap]";

function DateTime(){
tT=eval(tTt);
tT1=eval(tTd);
if(fr==0){ fr=1; document.write('<span style="font-weight:bold;font-size:9pt;font-family:Arial" id="ts">'+tT+'</span> ');document.write('<span style="font-weight:bold;font-size:8pt;font-family:Arial" id="ts2">'+tT1+'</span>'); }
ts.innerText=tT;
ts2.innerText=tT1;
setTimeout('DateTime()',1000);
}