function gebi(el){
        return document.getElementById(el);
}

function light_it(menu_el){
        var menu_item = gebi(menu_el);
        if (menu_item != null)
        {
                menu_item.style.backgroundColor='#EC6E00';
        }
}

function un_light_it(menu_el){
        var menu_item = gebi(menu_el);
        if (menu_item != null)
        {
                menu_item.style.backgroundColor='#7B8C90';
        }
}

function href(url){
        document.location.href=url;
}

function ShowWnd(Wnd,width,height) {
        Wnd_window=open(Wnd, 'Wnd', 'fullscreen=no,channelmode=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+width+',height='+height);
        Wnd_window.focus();
        return(false);
}

function ShowWnd2(Wnd,width,height) {
        Wnd_window=open(Wnd, 'Wnd', 'fullscreen=no,channelmode=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width='+width+',height='+height);
        Wnd_window.focus();
        return(false);
}

function msgwin(file) {
  subwin=open(file, "subwin", "width=400, height=400, scrollbars=1, resizable=1");
  subwin.focus();
}