function NoweOkno(nazwa)

{

window.open(nazwa,'',"toolbars=no,left=40,top=40,location=0,directories=0,status=no,menubars=0,scrollbars=yes,resizable=0,copyhistory=0,width=670,height=450");

}



function otworzokno(numer,wys,szer,nazwa) {

okno=window.open("","",'toolbar=no, menubar=no, personalbar=no, status=no, resizable=no,height='+wys+',width='+szer+',left=100,top=100');

okno.document.write("<html><head><META HTTP-EQUIV='Content-type' CONTENT='text/html; charset=iso-8859-2'><link rel='stylesheet' href='_c/style1.css' type='text/css'><title>" + nazwa + "</title></HEAD><body style='background:#fff;' ><center><table border=0 cellpadding=0 cellspacing=5 width=100% height=100%><tr><td valign=middle align=center>");

okno.document.write("<a href='javascript:window.close()'><img src=pliki/" + numer + " border=0></a><br><span style=font-size:11px;>" + nazwa + "</span></td></tr></table></center></body></html>");

}



function czy_na_pewno(param)

{

	if(confirm("Czy na pewno chcesz usun±ć tę pozycję?")==true)

	{

		document.location.href=param;

	}

}





function czy_na_pewno3(param){

	if(confirm("Czy na pewno chcesz usun±ć ten plik?")==true)	{

		document.location.href=param;

	}

}









if (document.getElementById){

document.write('<style type="text/css">\n')

document.write('.submenu{display: none;}\n')

document.write('</style>\n')

}



function SwitchMenu(obj){

	if(document.getElementById){

	var el = document.getElementById(obj);

	var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change

		if(el.style.display != "block"){ //DynamicDrive.com change

			

			el.style.display = "block";

		}else{

			el.style.display = "none";

		}

	}

}



window.onload = function() {

  nodes = document.getElementById('nav').getElementsByTagName('li');

  for (i=0; i != nodes.length; i++) {

    nodes[i].onmouseover = function() {

      this.className = 'over';

    }

    nodes[i].onmouseout = function() {

      this.className = this.className.replace('over', '');

	  }

  }

}


