
                        if (window != window.top) top.location.href = location.href;
                        if (document.all) {
                                document.onmouseover = getMenuOver;
                                document.onmouseout = getMenuOut;
                        }

                        function getMenuOver() {
                                el = window.event.srcElement;
                                pare = el.parentElement;
                                if (el.className == "menuOut") el.className = "menuOver";
                                if (pare.className == "menuOut") pare.className = "menuOver";
                        }

                        function getMenuOut() {
                                el = window.event.srcElement;
                                pare = el.parentElement;
                                if (el.className == "menuOver") el.className = "menuOut";
                                if (pare.className == "menuOver") pare.className = "menuOut";
                        }

        function newWindow(h, v, url) {
    var ipoint = "";
        var params="menubar=no,location=no,resizable=yes,scrollbars=no,status=no,width="+h+",height="+v+","+ipoint;
        window.open(url, '', params);
        }

        function getCatalogOver(id) {
                el = window.event.srcElement;
                el.src = ImagePath+"b_port" + id + "_down.gif";
        }

        function getCatalogOut(id) {
                el = window.event.srcElement;
                el.src = ImagePath+"b_port" + id + ".gif";
        }

        function exit() {
                if (document.forms.logoff) document.forms.logoff.submit();
        }

        function addHP(pr) {
                pr.style.behavior='url(#default#homepage)';
                pr.setHomePage('http://www.e-xecutive.ru/');
        }

        function addFav() {
                window.external.addFavorite('http://www.e-xecutive.ru/', 'E-xecutive.ru - '+desclanguage);
        }

function to_complain_moderator(link)
{
         url = "/newfiles/community/respects_msg.asp?link="+link;
         params="menubar=no,location=no,resizable=yes,scrollbars=no,status=no,width=400,height=300";
         window.open(url, '', params);
return false;
}

