var box = new Array();
box[0] = 'text1';
box[1] = 'text2';
box[2] = 'text3';
box[3] = 'text4';
box[4] = 'text5';
box[5] = 'text6';
box[6] = 'text7';
box[7] = 'text8';
box[8] = 'text9';
box[9] = 'text10';


function anzeigen(id){
                for(i=0;i<box.length;i++){
                        if (id == box[i]){
                           document.getElementById(box[i]).style.display="block";
                        }else{
                           document.getElementById(box[i]).style.display="none";
                        }
                }
}
