// JavaScript Document
timerun=function(){
	with(new Date){var now=[getFullYear(),getMonth(),getDate(),getDay(),getHours(),getMinutes(),getSeconds()];};
	Number.prototype.A0=function(){return ('0'+this).slice(-2);	}
	var a=now[0]+' '+["January","February","March","April","May","June","July","August","September","October","November","December"][now[1]]+' '+now[2];
	var x=now[4]>12?'pm':'am';
	now[4]-=now[4]>12?12:0;
	var b=now[4]+':'+now[5].A0()+':'+now[6].A0()+' '+x+' '+["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][now[3]];
	get=function (x){return document.getElementById(x);}
	get("i1").value=a;get("i2").value=b;
	window.status=a+b;
	setTimeout(arguments.callee,1000);
}

