startList = function() {
   if (document.getElementById)
   {
        nav_login = document.getElementById("li_zaloguj");

        if (document.all) {
            if (nav_login)
            {
                nav_login.onmouseover=function() {
                    this.className+=" over";
                }
                nav_login.onmouseout=function() {
                    this.className=this.className.replace(" over", "");
                }
                       
            }
        }
        if (nav_login)
        {
         try {
                var hideborder = document.createElement("div");
                hideborder.className = "hideborder";
                nav_login.appendChild(hideborder); 
                hideborder.style.width=nav_login.offsetWidth+"px";
            }
            catch (err) {}
        }
    }
}


window.onload=startList;


function hide_all_table(){
    if (document.getElementById) {
        divtab=document.getElementById("aktywa_tab");
        for (i=0; i<divtab.childNodes.length; i++) {
            node = divtab.childNodes[i];
            if (node.nodeName=="DIV") {
                node.style.display="none";
            }
        }
    }
}

function show_table(id_table) {
    if (document.getElementById) {
        table1=document.getElementById(id_table);
        if (table1) {
            hide_all_table();
            table1.style.display="block";
        }
    }
}

function OpenWindow(link, width,height,resizable)
{
  if (resizable=="") resizable = "yes";    
  var aa = window.open(link, "WND", "width="+ width + ",height=" + height + "titlebar=yes,status=yes,toolbar=no,menubar=no,location=no,resizable=" + resizable +",scrollbars=yes,fullscreen=no");
  aa.focus();
}

