function copy_and_highlight_textfield(frmname) {
	var tempval=eval("document.getElementById('"+frmname+"')");
	tempval.focus()
	tempval.select()
	if (document.all){
		therange=tempval.createTextRange()
		therange.execCommand("Copy")
		setTimeout("window.status=''",1800)
	}
}
