function obj ( name ) {
        this.style = document.getElementById(name).style;
}

function expCol ( name ) {

        var x = new obj ( name );
        var z = new obj ( name + "_head" );
        if (x.style.display == 'block') {

                contractAll();

        } else {

                contractAll();
                x.style.display                      = 'block';
                z.style.color                        = '#000066';
                z.style.fontStyle                    = 'italic';
                document[name + "_img"].src          = "/images/minus.gif";

        }

}

function contractAll () {

        allDiv = document.getElementsByTagName("div");
        allSpan = document.getElementsByTagName("span");

        for (y=0; y<allDiv.length; y++) {

                thisDiv                              = allDiv[y];

                if (thisDiv.id != "") {

                   thisDiv.style.display             = 'none';
                   document[thisDiv.id + "_img"].src = "/images/plus.gif";

                }

        }

        for (y=0; y<allSpan.length; y++) {

                thisSpan                             = allSpan[y];
                thisSpan.style.color                 = '#000000';
                thisSpan.style.fontWeight            = 'bold';
                thisSpan.style.fontStyle             = 'normal';

        }

}
