 function changeColor(mid,textColor,bgColor)
 {
   mid.style.backgroundColor = bgColor;
   mid.style.color = textColor;
 }  

