function changeColor(){
var sin=confirm("是否要重置");
if(sin==true){
document.getElementById("txt").style.color="red";}
else{}
}
var mychar=document.getElementById("con");
mychar.style.color="red";