// JScript 文件


    function toRed(idd){
    if (idd=="xt"){
    var aa= document.getElementById ("xt").style.color ="red";
    var aa= document.getElementById ("db").style.color ="white";
    var aa= document.getElementById ("sq").style.color ="white";
    var aa= document.getElementById ("wj").style.color ="white";
    var aa= document.getElementById ("zh").style.color ="white";
    var aa= document.getElementById ("yj").style.color ="white";
    var aa= document.getElementById ("gl").style.color ="white";
   
    }
     else if (idd=="db"){
    var aa= document.getElementById ("xt").style.color ="white";
    var aa= document.getElementById ("db").style.color ="red";
    var aa= document.getElementById ("sq").style.color ="white";
    var aa= document.getElementById ("wj").style.color ="white";
    var aa= document.getElementById ("zh").style.color ="white";
    var aa= document.getElementById ("yj").style.color ="white";
    var aa= document.getElementById ("gl").style.color ="white";
  
    
    }
   else if (idd=="sq"){
    var aa= document.getElementById ("xt").style.color ="white";
    var aa= document.getElementById ("db").style.color ="white";
    var aa= document.getElementById ("sq").style.color ="red";
    var aa= document.getElementById ("wj").style.color ="white";
    var aa= document.getElementById ("zh").style.color ="white";
    var aa= document.getElementById ("yj").style.color ="white";
    var aa= document.getElementById ("gl").style.color ="white";
  
    
    }
   else  if (idd=="wj"){
    var aa= document.getElementById ("xt").style.color ="white";
    var aa= document.getElementById ("db").style.color ="white";
    var aa= document.getElementById ("sq").style.color ="white";
    var aa= document.getElementById ("wj").style.color ="red";
    var aa= document.getElementById ("zh").style.color ="white";
    var aa= document.getElementById ("yj").style.color ="white";
    var aa= document.getElementById ("gl").style.color ="white";
  
    
    }
   else  if (idd=="zh"){
     var aa= document.getElementById ("xt").style.color ="white";
    var aa= document.getElementById ("db").style.color ="white";
    var aa= document.getElementById ("sq").style.color ="white";
    var aa= document.getElementById ("wj").style.color ="white";
    var aa= document.getElementById ("zh").style.color ="red";
    var aa= document.getElementById ("yj").style.color ="white";
    var aa= document.getElementById ("gl").style.color ="white";
    
    }
   else  if (idd=="yj"){
     var aa= document.getElementById ("xt").style.color ="white";
    var aa= document.getElementById ("db").style.color ="white";
    var aa= document.getElementById ("sq").style.color ="white";
    var aa= document.getElementById ("wj").style.color ="white";
    var aa= document.getElementById ("zh").style.color ="white";
    var aa= document.getElementById ("yj").style.color ="red";
    var aa= document.getElementById ("gl").style.color ="white";
  
    
    }
   else  if (idd=="gl"){
    var aa= document.getElementById ("xt").style.color ="white";
    var aa= document.getElementById ("db").style.color ="white";
    var aa= document.getElementById ("sq").style.color ="white";
    var aa= document.getElementById ("wj").style.color ="white";
    var aa= document.getElementById ("zh").style.color ="white";
    var aa= document.getElementById ("yj").style.color ="white";
    var aa= document.getElementById ("gl").style.color ="red";
  
    
    }
    }
    
    
 
