function InfoBox(pos,height, maxheight, state,initstate)
{
    this.pos = pos;
    this.height = height;
    this.maxheight = maxheight;
    this.state = state;     // 1=ausgefahren; 0=eingezogen
    this.initstate = initstate; // 1=ausgefahren; 0=eingezogen
}

function initBox() {
    infoBox[0] = new InfoBox(0,0,0,0,0);
    infoBox[1] = new InfoBox(1,150,600,0,1);
    infoBox[2] = new InfoBox(1,135,180,0,0);
    infoBox[3] = new InfoBox(1,230,300,0,1);
    infoBox[4] = new InfoBox(1,140,140,0,0);
    infoBox[5] = new InfoBox(1,100,100,0,0);
    for (n=0; n<= infoBox.length-1; n++) {
        if (infoBox[n].initstate == 1) {
            document.getElementById("sliderbox_" + n).style.height = infoBox[n].height + "px";
            document.getElementById("sliderbox_" + n).style.filter="alpha(opacity=100)";
            document.getElementById("sliderbox_" + n).style.MozOpacity = 1;
        }
    }
}
