
function gettop() {
	
	 var strUrl_of_head = window.locations.href;
                var arrUrl_of_head = strUrl_of_head.split("/");
                var arrPage_of_head = arrUrl_of_head[arrUrl_of_head.length - 1].split("?");
                var strPage_of_head = arrPage_of_head[0].toLocaleLowerCase();
               
				//alert(strPage_of_head);
               
switch (strPage_of_head) {
case "index.php":
case "index.html":
case "":
document.getElementById("indexss").className ="on";
break;

case "about.php":
case "about.html":
case "about":
document.getElementById("aboutss").className ="on";
break;

case "product.php":
case "product.html":
case "product":
case "productshow.php":
case "productshow.html":
case "productshow":
document.getElementById("productss").className ="on";
break;

case "prochao.php":
case "prochao.html":
case "prochao":
case "prochaoshow.php":
case "prochaoshow.html":
case "prochaoshow":
document.getElementById("chaoss").className ="on";
break;


case "news.php":
case "newsshow.php":
case "news.html":
case "newsshow.html":
case "news":
case "newsshow":
document.getElementById("newsss").className ="on";
break;


case "goods.php":
case "goods.html":
case "goods":
case "goodsshow.php":
case "goodsshow.html":
case "goodsshow":
document.getElementById("goodsss").className ="on";
break;

case "case.php":
case "case.html":
case "case":
case "caseshow.php":
case "caseshow.html":
case "caseshow":
document.getElementById("casess").className ="on";
break;


case "contact.php":
case "contact.html":
case "contact":
case "contactshow.php":
case "contactshow.html":
case "contactshow":
document.getElementById("contactss").className ="on";
break;



}
}