<!--

function zamOne(url, ile){
    if( ile > 0 ){
      document.location.href = '?'+url+'&ile='+ile;
    }
}

function showOpis( s ){
    var oid = 'w'+s.options[s.selectedIndex].value;
    hideh();
    if( document.getElementById(oid) )
      linkuj(oid);

}
function hideh() {
                        var Nodes = document.getElementsByTagName('div')
                        var max = Nodes.length
                        for(var i=0;i<max;i++) {
                                var nodeObj = Nodes.item(i);                                
                                if(nodeObj.id.indexOf('w')!=-1) {
                                   nodeObj.style.display = 'none';                                
                                }
                        }
                        var Nodes = document.getElementsByTagName('h1')
                        var max = Nodes.length
                        for(var i=0;i<max;i++) {
                                var nodeObj = Nodes.item(i);  
                                nodeObj.style.display = 'none';                                
                        }
} 
function go_form(f, url){
   f.action = url;
   f.submit();
}

function czysc( o ){
    for (var i = 0; i < o.length; i++){
        if (o[i].type!='hidden' && o[i].type!='submit' && o[i].type!='button'){
            o[i].value="";
        }
    }
}

function flash(id, kolor, czas, kolor2)
{
  czas2 = czas;
  if (document.getElementById)
  {
    document.getElementById(id).style.color = kolor;
    setTimeout('flash("' +  id + '","' + kolor2 + '",' + czas2 + ',"' + kolor + '",' + czas + ')', czas);
  }
  else if (document.all)
  {
    document.all[id].style.color = kolor;
    setTimeout('flash("' +  id + '","' + kolor2 + '",' + czas2 + ',"' + kolor + '",' + czas + ')', czas);
  }
}


function go( url ){
    document.location.href=url;
}
function go_form( f, url ){
    f.action=url;
    f.submit();
}
function selecturl( s ){
    var gourl = s.options[s.selectedIndex].value;
    document.location.href=gourl;
}
function otworz( url, tytul, szer, wys ){
    if (parseInt(szer) > 800 || parseInt(wys) > 800){
        NoweOkienko=window.open(url, tytul);
    } else{
        config='left=100,top=100,width='+szer+',height='+wys+',innerheight='+wys+',innerwidth='+szer+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no';
        NoweOkienko=window.open('', tytul, config);
        NoweOkienko.document.open();
        NoweOkienko.document.write('<HTML>');
        NoweOkienko.document.write('<HEAD>');
        NoweOkienko.document.write('<TITLE>'+tytul+'</TITLE>');
        NoweOkienko.document.write('</HEAD>');
        NoweOkienko.document.write('<BODY BGCOLOR=white LEFTMARGIN=0 TOPMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0>');
        NoweOkienko.document.write('<A HREF=# onclick="javascript:self.close();"><IMG SRC="'+url+'" BORDER=0 ALT="Zamknij"></A>');
        NoweOkienko.document.write('</BODY>');
        NoweOkienko.document.write('</HTML>');
        NoweOkienko.document.close();
        NoweOkienko.focus();
    }
}
function otworz_url( url, tytul, szer, wys ){
    config='left=100,top=100,width='+szer+',height='+wys+',innerheight='+wys+',innerwidth='+szer+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no';
    NoweOkienko=window.open(url, tytul, config);
}
function MM_reloadPage( init ){ //reloads the window if Nav4 resized
    if (init==true) with (navigator){
        if ((appName=="Netscape") && (parseInt(appVersion)==4)){
            document.MM_pgW=innerWidth;
            document.MM_pgH=innerHeight;
            onresize=MM_reloadPage;
        }
    }
    else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}


MM_reloadPage(true);

// -->  
