
 function alldisplay(){
	 
document.getElementById("menuc1").style.backgroundImage="url(image/topline2.jpg)"; 
document.getElementById("amenuc1").style.color="#FFF"; 
document.getElementById("menuc2").style.backgroundImage="url(image/topline3.jpg)"; 
document.getElementById("amenuc2").style.color="#FFF"; 
document.getElementById("menuc3").style.backgroundImage="url(image/topline2.jpg)"; 
document.getElementById("amenuc3").style.color="#FFF"; 
document.getElementById("menuc4").style.backgroundImage="url(image/topline2.jpg)"; 
document.getElementById("amenuc4").style.color="#FFF"; 
document.getElementById("menuc5").style.backgroundImage="url(image/topline2.jpg)"; 
document.getElementById("amenuc5").style.color="#FFF"; 
document.getElementById("menuc6").style.backgroundImage="url(image/topline2.jpg)"; 
document.getElementById("amenuc6").style.color="#FFF"; 
document.getElementById("menuc7").style.backgroundImage="url(image/topline2.jpg)"; 
document.getElementById("amenuc7").style.color="#FFF"; 
document.getElementById("menuc8").style.backgroundImage="url(image/topline2.jpg)"; 
document.getElementById("amenuc8").style.color="#FFF"; 
document.getElementById("menuc9").style.backgroundImage="url(image/topline2.jpg)"; 
document.getElementById("amenuc9").style.color="#FFF"; 
document.getElementById("menuc10").style.backgroundImage="url(image/topline2.jpg)"; 
document.getElementById("amenuc10").style.color="#FFF"; 
document.getElementById("menuc11").style.backgroundImage="url(image/topline2.jpg)"; 
document.getElementById("amenuc11").style.color="#FFF"; 
document.getElementById("menuc12").style.backgroundImage="url(image/topline2.jpg)"; 
document.getElementById("amenuc12").style.color="#FFF"; 

	}
 
function menus(i)
{

 switch(i)
 {
 case 1: //首页
 alldisplay();
 
 document.getElementById("amenuc1").style.color="#F00"; 
document.getElementById("menuc1").style.backgroundImage="url(image/topbb.jpg)"; 
 
 break;
case 2: //关于我们
 alldisplay();
  document.getElementById("amenuc2").style.color="#F00"; 
document.getElementById("menuc2").style.backgroundImage="url(image/topbb.jpg)"; 
 break;
 case 3: //直营中心
 alldisplay();
  document.getElementById("amenuc3").style.color="#F00"; 
document.getElementById("menuc3").style.backgroundImage="url(image/topbb.jpg)"; 
 break;
  case 4: //站内资讯
 alldisplay();
  document.getElementById("amenuc4").style.color="#F00"; 
document.getElementById("menuc4").style.backgroundImage="url(image/topbb.jpg)"; 
 break;
 
  case 5: //直营中心
 alldisplay();
  document.getElementById("amenuc5").style.color="#F00"; 
document.getElementById("menuc5").style.backgroundImage="url(image/topbb.jpg)"; 
 break;
 
   case 6: //在线课程
 alldisplay();
  document.getElementById("amenuc6").style.color="#F00"; 
document.getElementById("menuc6").style.backgroundImage="url(image/topbb.jpg)"; 
 break;



   case 7: //在线课程
 alldisplay();
  document.getElementById("amenuc7").style.color="#F00"; 
document.getElementById("menuc7").style.backgroundImage="url(image/topbb.jpg)"; 
 break;


   case 8: //在线课程
 alldisplay();
  document.getElementById("amenuc8").style.color="#F00"; 
document.getElementById("menuc8").style.backgroundImage="url(image/topbb.jpg)"; 
 break;

 
   case 9: //在线课程
 alldisplay();
  document.getElementById("amenuc9").style.color="#F00"; 
document.getElementById("menuc9").style.backgroundImage="url(image/topbb.jpg)"; 
 break;
 
    case 10: //在线课程
 alldisplay();
  document.getElementById("amenuc10").style.color="#F00"; 
document.getElementById("menuc10").style.backgroundImage="url(image/topbb.jpg)"; 
 break;
 
    case 11: //在线课程
 alldisplay();
  document.getElementById("amenuc11").style.color="#F00"; 
document.getElementById("menuc11").style.backgroundImage="url(image/topbb.jpg)"; 
 
 break;

    case 12: //在线课程
 alldisplay();
  document.getElementById("amenuc12").style.color="#F00"; 
document.getElementById("menuc12").style.backgroundImage="url(image/topbb.jpg)"; 
 
 break;
 
 
    case 13: //在线课程
 alldisplay();
  document.getElementById("amenuc13").style.color="#F00"; 
document.getElementById("menuc13").style.backgroundImage="url(image/topbb.jpg)"; 
 
 break;



 }
}
 
