function podswietl(id) {
document.getElementById(id).style.backgroundColor="rgb(236,246,255)";
}

function zgas(id) {
document.getElementById(id).style.backgroundColor="rgb(212,234,255)";
}

function szczeg(id) {
adr=document.getElementById('szczeg'+id).style.display="table-row";
//linia=document.createElement('tr');
//linia.setAttribute('id','szczeg'+id);
//linia.setAttribute('onclick','szczeg'+id);
//kom=document.createElement('td');
//adr.parentNode.insertBefore(linia,adr.nextSibling);
//wypelnij=adr.lastChild;
//wypelnij.setAttribute('name',nzw);
//wypelnij.setAttribute('class','wierszr');
}

function pokaz(p,l) {
  start=p*l;
  stop=p*l+l-1;
  for(i=start;i<=stop;i++) {
    if(document.getElementById('wrsz'+i)==null) {
      break;
    }
    document.getElementById('wrsz'+i).style.display="table-row";
  }
}

function ukryj(p,l) {
  start=p*l;
  stop=p*l+l;
  for(i=start;i<=stop;i++) {
    if(document.getElementById('wrsz'+i)==null) {
      break;
    }
    document.getElementById('wrsz'+i).style.display="none";
  }
}

function odswiez(pop,str) {
  //document.getElementById('nav').innerHTML="dupa";
  document.getElementById('nav').innerHTML="Przejd¼ do strony: "+pgNav((pop+1),11,str,1,"ukryj("+pop+",20); pokaz(",",20); odswiez(",","+str+");",1);
}