// JavaScript Document
getColor();
function getColor(){
	var arr=new Array();
	arr["about"]="about.php";
	arr["news"]="exhibition.php";
	arr["press"]="press.php";
	arr["photo"]="gallery.php";
	arr["career"]="content.view.php?c=22&i=Employment";
	arr["contact"]="content.view.php?c=22&i=Contact%20Us";
	arr["site"]="content.view.php?i=mainsitemap";
	var host_str=document.location.toString();
	search_word=host_str.substr((host_str.lastIndexOf("/")+1));
	var t_obj=null;
	//var search_word=null;
	for(i in arr){
		if(arr[i]==search_word){
			setStyle(i);
			return ;
		}
	}
}
function setStyle(id){
	t_obj=document.getElementById(id);
	//t_obj=document.getElementById("news");
	//alert((typeof t_obj)+"---------"+i.toString());
	//alert(t_obj +id.toString());
	if(t_obj!=null){
		t_obj.style.color="#FF0000";
	}
}