function initDropdownList(){
    dropDownListResizeHandler();
    jQuery(".dropDownList h3 a").click(function(event) {
        doDropdownList(jQuery(this).parent().parent());
        event.preventDefault();
    });
    jQuery(".dropDownList h3 a").focus(function(event) {
    });
    jQuery(document).keydown(function(event) {

        switch (event.keyCode) {
            case 27:   //oben
                dropDownListResizeHandler();
                break;
        }
    });


}
function doDropdownList(handler) {
    var myHandler = jQuery(handler);
    var myUL = myHandler.find("ul");
    myUL.toggleClass("hidden");
    myUL.css("width", (myHandler.width()) + "px");
    if (myUL.hasClass("hidden")) {
        myUL.find("a:first").focus();
    }


}

function dropDownListResizeHandler() {
    jQuery(".dropDownList ul").addClass("hidden");
}
           
