<script>
varallli =document.getElementById("btnitone").getElementsByTagName("li");
for(p=0;p<allli.length;p++){
allli[p].onclick = function(){
for(c=0;c<allli.length;c++){
allli[c].className = "";
document.getElementById("a"+c).style.display= "none";
if(allli[c]==this){
allli[c].className ="this";
document.getElementById("a"+c).style.display= "block";
}
}
}
}
</script>