function loadit(id){ thisdiv=document.getElementById(id); if(thisdiv){ thisdiv.className='menublockactive'; } }