﻿
 switch (SearchCurPath()){
   case "home":
        Mtd1.background="/images/home1.gif";
        Mtd2.background="/images/img1.gif";
        Mtd3.background="/images/img1.gif";
        Mtd4.background="/images/img1.gif";
        Mtd5.background="/images/img1.gif";
        Ma1.setAttribute("className", "white13");
        Ma2.setAttribute("className", "hei13");
        Ma3.setAttribute("className", "hei13");
        Ma4.setAttribute("className", "hei13");
        Ma5.setAttribute("className", "hei13");
        Ma1.setAttribute("class", "white13");
        Ma2.setAttribute("class", "hei13");
        Ma3.setAttribute("class", "hei13");
        Ma4.setAttribute("class", "hei13");
        Ma5.setAttribute("class", "hei13");
        break;
   case "product":
        Mtd1.background="/images/img1.gif";
        Mtd2.background="/images/home1.gif";
        Mtd3.background="/images/img1.gif";
        Mtd4.background="/images/img1.gif";
        Mtd5.background="/images/img1.gif";
        Ma1.setAttribute("className", "hei13");
        Ma2.setAttribute("className", "white13");
        Ma3.setAttribute("className", "hei13");
        Ma4.setAttribute("className", "hei13");
        Ma5.setAttribute("className", "hei13");
        Ma1.setAttribute("class", "hei13");
        Ma2.setAttribute("class", "white13");
        Ma3.setAttribute("class", "hei13");
        Ma4.setAttribute("class", "hei13");
        Ma5.setAttribute("class", "hei13");
        break;
   case "company":
        Mtd1.background="/images/img1.gif";
        Mtd2.background="/images/img1.gif";
        Mtd3.background="/images/home1.gif";
        Mtd4.background="/images/img1.gif";
        Mtd5.background="/images/img1.gif";
        Ma1.setAttribute("className", "hei13");
        Ma2.setAttribute("className", "hei13");
        Ma3.setAttribute("className", "white13");
        Ma4.setAttribute("className", "hei13");
        Ma5.setAttribute("className", "hei13");
        Ma1.setAttribute("class", "hei13");
        Ma2.setAttribute("class", "hei13");
        Ma3.setAttribute("class", "white13");
        Ma4.setAttribute("class", "hei13");
        Ma5.setAttribute("class", "hei13");
        break;
   case "news":
        Mtd1.background="/images/img1.gif";
        Mtd2.background="/images/img1.gif";
        Mtd3.background="/images/img1.gif";
        Mtd4.background="/images/home1.gif";
        Mtd5.background="/images/img1.gif";
        Ma1.setAttribute("className", "hei13");
        Ma2.setAttribute("className", "hei13");
        Ma3.setAttribute("className", "hei13");
        Ma4.setAttribute("className", "white13");
        Ma5.setAttribute("className", "hei13");
        Ma1.setAttribute("class", "hei13");
        Ma2.setAttribute("class", "hei13");
        Ma3.setAttribute("class", "hei13");
        Ma4.setAttribute("class", "white13");
        Ma5.setAttribute("class", "hei13");
        break;
   case "office":
        Mtd1.background="/images/img1.gif";
        Mtd2.background="/images/img1.gif";
        Mtd3.background="/images/img1.gif";
        Mtd4.background="/images/img1.gif";
        Mtd5.background="/images/home1.gif";
        Ma1.setAttribute("className", "hei13");
        Ma2.setAttribute("className", "hei13");
        Ma3.setAttribute("className", "hei13");
        Ma4.setAttribute("className", "hei13");
        Ma5.setAttribute("className", "white13");
        Ma1.setAttribute("class", "hei13");
        Ma2.setAttribute("class", "hei13");
        Ma3.setAttribute("class", "hei13");
        Ma4.setAttribute("class", "hei13");
        Ma5.setAttribute("class", "white13");
        break;
   default: 
        Mtd1.background="/images/home1.gif";
        Mtd2.background="/images/img1.gif";
        Mtd3.background="/images/img1.gif";
        Mtd4.background="/images/img1.gif";
        Mtd5.background="/images/img1.gif";
        Ma1.setAttribute("className", "white13");
        Ma2.setAttribute("className", "hei13");
        Ma3.setAttribute("className", "hei13");
        Ma4.setAttribute("className", "hei13");
        Ma5.setAttribute("className", "hei13");
        Ma1.setAttribute("class", "white13");
        Ma2.setAttribute("class", "hei13");
        Ma3.setAttribute("class", "hei13");
        Ma4.setAttribute("class", "hei13");
        Ma5.setAttribute("class", "hei13");
        break;
        }
        