var greet;
var today = new Date();
var d=today.getHours();
if (d < 12) greet = "Good Morning";
if ((d < 17) && (d > 12) || (d == 12)) greet = "Good Afternoon";
if ((d > 17) || (d == 17))  greet = "Good Evening";
//document.write(d);

//specify whether contents should be auto copied to clipboard (memory)
//Applies only to IE 4+
//0=no, 1=yes
var copytoclip=1

function HighlightAll(theField) {
	var tempval=eval("document."+theField)
	tempval.focus()
	tempval.select()
	if (document.all&&copytoclip==1){
		therange=tempval.createTextRange()
		therange.execCommand("Copy")
		window.status="Contents highlighted and copied to clipboard!"
		setTimeout("window.status=''",1800)
	}
}

