function tcopy(){var str=document.getElementById('stxt').innerText,n=new Date(),q=['日','一','二','三','四','五','六'];str+="\r\n此信息来源于"+location.href+' '+n.getFullYear()+'-'+(n.getMonth()+1)+'-'+n.getDate()+'(星期'+q[n.getDay()]+')';	var obj = window.clipboardData;	obj.setData('Text',str);alert('你已经成功复制');}