brow_name = navigator.appName;	
brow_ver = parseFloat(navigator.appVersion); 
if (brow_name == "Netscape" && brow_ver >= 3.0) { akcja = 'true'; }
else  {if (brow_name == "Microsoft Internet Explorer" && brow_ver >= 4.0) { akcja = 'true'; }
else { akcja = 'false'; } };
if (akcja == 'true'){

function otworzIndex(adres) 
	{
	
	noweOkno = window.open(adres, '', 'menubar=no,toolbar=no,location=no,scrollbars=no,resizable=no,status=no,directories=no,copyhistory=no,width=740')
	noweOkno.focus()
	}

function otworzMikroskop(adres) 
	{
	
	noweOkno = window.open(adres, '', 'menubar=no,toolbar=no,location=no,scrollbars=no,resizable=no,status=no,directories=no,copyhistory=no,width=521')
	noweOkno.focus()
	}
	
function otworzZdjecie(adres) 
	{
	
	noweOkno = window.open(adres, '', 'menubar=no,toolbar=no,location=no,scrollbars=no,resizable=no,status=no,directories=no,copyhistory=no,width=680')
	noweOkno.focus()
	}
	
function zamknij() 
	
		{
		window.close()
		}
	
function otworzLink(adres) 
	{
	
	noweOkno = window.open(adres, '', 'menubar=yes,toolbar=yes,location=yes,scrollbars=yes,resizable=yes,status=yes,directories=yes,copyhistory=yes')
		noweOkno.focus()
	}

 

function uncons()
	{
	window.alert("STRONA W BUDOWIE\n / under construction /");
	};

// Autorem skryptu jest: SŁAWOMIR KOKŁOWSKI
// www.kurshtml.boo.pl
// Jeśli chcesz wykorzystać ten skrypt na swojej stronie, nie usuwaj tego komentarza!

function target_ob(id, a)
{
  if (document.getElementById && document.getElementById(id) && document.getElementById(id).innerHTML && a && a.href)
  {
    var ob = document.getElementById(id).innerHTML;
    if (ob.toLowerCase().indexOf(' data=') != -1)
    {
      var start = ob.toLowerCase().indexOf(' data=');
      var stop = ob.indexOf('"', start+3);
      if (stop == -1 || ob.indexOf('>', start+3) < stop || ob.indexOf('=', start+3) < stop) stop = ob.indexOf(' ', start+3);
      if (stop == -1 || stop > ob.indexOf('>', start+3)) stop = ob.indexOf('>', start+3);

      var minus = -1;
      if ((minus = ob.toLowerCase().indexOf(' width="-')) != -1 || (minus = ob.toLowerCase().indexOf(' width=\'-')) != -1 || (minus = ob.toLowerCase().indexOf(' width=-')) != -1)
      {
        for (var i = minus+8; i < ob.length; i++)
        {
         if ((ob.charAt(i) < '0' || ob.charAt(i) > '9') && ob.charAt(i) != '-') break;
        }
        ob = ob.substring(0, minus+7+(ob.toLowerCase().indexOf(' width="-') != -1 || ob.toLowerCase().indexOf(' width=\'-') != -1 ? 1 : 0)) + ob.substring(minus+8+(ob.toLowerCase().indexOf(' width="-') != -1|| ob.toLowerCase().indexOf(' width=\'-') != -1 ? 1 : 0), i) + '%' + ob.substring(i);
      }
      var minus = -1;
      if ((minus = ob.toLowerCase().indexOf(' height="-')) != -1 || (minus = ob.toLowerCase().indexOf(' height=-')) != -1)
      {
        for (var i = minus+8; i < ob.length; i++)
        {
          if ((ob.charAt(i) < '0' || ob.charAt(i) > '9') && ob.charAt(i) != '-') break;
        }
        ob = ob.substring(0, minus+8+(ob.toLowerCase().indexOf(' height="-') != -1|| ob.toLowerCase().indexOf(' height=\'-') != -1 ? 1 : 0)) + ob.substring(minus+9+(ob.toLowerCase().indexOf(' height="-') != -1|| ob.toLowerCase().indexOf(' height=\'-') != -1 ? 1 : 0), i) + '%' + ob.substring(i);
      }

      if (stop > start) document.getElementById(id).innerHTML = ob.substring(0, start) + ' data="' + a.href + '"' + ob.substring(stop);
      else return true;
    }
  }
  else return true;

  return false;
}
}

function showMenu(id)                                                                                                                                       
{                                                                                                                                                            
if(document.getElementById)                                                                                                                                  
    {                                                                                                                                                        
    element = document.getElementById(id);                                                                                                                   
    } else if(document.all)                                                                                                                                  
            {                                                                                                                                            
            element = document.all[id];                                                                                                                  
            } else return;                                                                                                                               
if(element.style)                                                                                                                                
    {                                                                                                                                            
    if(element.style.display == 'block' )                                                                                                        
        {                                                                                                                                        
        element.style.display = 'none';                                                                                                          
        } else  {                                                                                                                                
	        element.style.display = 'block';                                                                                                 
	        }                                                                                                                                
}     
