function setActive() {
//	alert("test");
  aObj = document.getElementById('nav2').getElementsByTagName('a');
//	alert("test1");
  for(i=0;i<aObj.length;i++) {
	//alert(aObj[i].href);
	//alert(window.location.href);
    if(window.location.href.indexOf(aObj[i].href)>=0) {
//		alert("test3");
      aObj[i].className='active';
		
    }
  }
}
