function menu_on(a,b,x) {
	a.src = x + 'img/' + b + '_on.gif' ; 

}
function menu_off(a,b,x) {
	a.src = x + 'img/' + b + '_off.gif' ; 

}

function otworzOkno(x,y) {
	okno =	window.open('','Okladka','toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=no,directories=no,status=no,resizable=no,width='+x+',height='+y) ;
	okno.resizeTo(x+10,y+29) ;
}
function zoom(plik, size_x, size_y, scroll, loc, stat, posX, posY){

  size_x += 14;
  size_y += 32;
  
	if (posX == null) posX = Math.round(((screen.availWidth-size_x)/2)-5);
	if (posY == null) posY = Math.round(((screen.availHeight-size_y)/2)-14);

	if (scroll == null) scroll = 0;
	if (loc == null) loc = 0;
	if (stat == null) stat = 0;

	popup="width="+size_x+",height="+size_y+",left="+posX+",top="+posY+",toolbar=no,location="+loc+",directories=no,status="+stat+",menubar=no,scrollbars="+scroll+",resizable=no";
	opener = window.open( plik, 'zoom', popup);
}