var aobj=document.getElementById(activate);
aobj.className='active';