//Initialise interface when page is first loaded
Sys.Application.add_init(InitializeInterface);

function InitializeInterface_Committees() {
    //Code for Committees Interface
    
    //Close Search Popup if visible
    setTimeout(ForceCloseSearch, 100);
}

function ForceCloseSearch() {
    //Keep trying until behaviour found and closed - position is now above visible area - until close, the page height is wrong!!
    if (!CloseSearch) {
        setTimeout(ForceCloseSearch, 100);
    }
}