	var ourDateObject = new Date();
	var tx = "";
	tx+= "Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",")[ourDateObject.getDay()];
	tx+= " ";
	tx+= ourDateObject.getDate();
	tx+= " ";
	tx+= "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(",")[ourDateObject.getMonth()];
	tx+= " ";
    tx+= ourDateObject.getFullYear();
	document.write(tx);

