function switch_top(n){
	for(var i=1;i<=8;i++){
		var topmain=document.getElementById("topmain"+i);
		var topnav=document.getElementById("topnav"+i);
		if(n==i){
			topmain.style.display="block";
			topnav.className="b"
		}else{
			topmain.style.display="none";
			topnav.className="b1"
		}
	}
}
