function change(){
	var now=document.getElementsByClassName("details-title")[0].innerHTML;
	var a = document.getElementsByClassName("left-list")[0].children;
	for(i=0;i<a.length;i++){
		if(now==a[i].innerText) {
			a[i].className = 'active';
		}	
	}
}
 window.onload = function () {
     change();
}