//zwijanie menu

function ShowHideGroup( id ) {
		var div = document.getElementById( 'group_' + id);
		
		div.style.display = ( div.style.display == 'block' ? 'none' : 'block' );
	};

//Zmiana wielkości fontów AAA
function setFontSize(fSize)
{
	document.cookie="fontSize="+fSize;
// 3 nastepne linie ustawiają klase dla podkreslenia
	document.getElementById('f12').className = "f10";
	document.getElementById('f14').className = "f14";
	document.getElementById('f16').className = "f16";
//ustawia linie dla pokreślenia
	if( fSize == '12'){
		document.getElementById('f'+fSize).className = "f10 underline";
	}
	else{
		document.getElementById('f'+fSize).className = "f"+fSize+" underline";
	}
//zmienia wielkość liter w div'ie o identyfikatorze aTxt
	document.getElementById("aTxt").style.fontSize = fSize + "px";
// zmienia interlinie w związku z wielkością fontu.
	if( fSize == '12'){
		document.getElementById("aTxt").style.lineHeight = fSize + 6 + "px";
	}
	else if( fSize == '14'){
		document.getElementById("aTxt").style.lineHeight = fSize + 8 + "px";
	}
	else if( fSize == '16'){
		document.getElementById("aTxt").style.lineHeight = fSize + 10 + "px";
	}		
}

// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header

// Set the message for the alert box
am = "Niestety prawy klawisz nie dziala.";

// do not edit below this line
// ===========================
bV  = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"

function nrc(e) {
   if (bNS && e.which > 1){
      alert(am)
      return false
   } else if (bIE && (event.button >1)) {
     alert(am)
     return false;
   }
}

function clickIE() {if (document.all) {alert(am);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {alert(am);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

