una cosa del genere...

<script>
function dennis(quale){
html="";
if(quale==1){
html="Testo1";
}
else{
html="[i]Testo2[/b]";
}
document.getElementById("livello").innerHTML=html
}
</Script>
<input type="button" name=1 value="CONT 1" onClick="this.name=this.name=='1'?'2':'1';dennis(t his.name)">

<div style="background-color:aqua" id="livello"></div>