switchcontent.prototype.togglestatus=function(header, status){
if (typeof this.statusOpen!="undefined")
header.getElementsByTagName('SPAN')[0].innerHTML=status
}


...