	var obrazek_01 = new Image();
	obrazek_01.src = 'bms_12_xlayout/bms_12_grafika/bms_12_menu_button_aktualnosci_1.jpg';
		var obrazek_02 = new Image();
		obrazek_02.src = 'bms_12_xlayout/bms_12_grafika/bms_12_menu_button_aktualnosci_2.jpg';
	var obrazek_03 = new Image();
	obrazek_03.src = 'bms_12_xlayout/bms_12_grafika/bms_12_menu_button_info_1.jpg';
		var obrazek_04 = new Image();
		obrazek_04.src = 'bms_12_xlayout/bms_12_grafika/bms_12_menu_button_info_2.jpg';
	var obrazek_05 = new Image();
	obrazek_05.src = 'bms_12_xlayout/bms_12_grafika/bms_12_menu_button_kronika_1.jpg';
		var obrazek_06 = new Image();
		obrazek_06.src = 'bms_12_xlayout/bms_12_grafika/bms_12_menu_button_kronika_2.jpg';
	var obrazek_07 = new Image();
	obrazek_07.src = 'bms_12_xlayout/bms_12_grafika/bms_12_menu_button_oferta_1.jpg';
		var obrazek_08 = new Image();
		obrazek_08.src = 'bms_12_xlayout/bms_12_grafika/bms_12_menu_button_oferta_2.jpg';


function movein(przycisk,opis)
	{
	info_przycisku.innerHTML=opis
	}

function moveout(przycisk)
	{
	info_przycisku.innerHTML='&nbsp;'
	}

function Zegar()
	{
	Czas = window.setTimeout("Zegar()", 100);
	var Dzien = new Date();
	var Wyswietl = Dzien.toLocaleString();
	status = Wyswietl;
	}

function Mysz()
	{
	function nocontextmenu()
		{
		event.cancelBubble = true;
		event.returnValue = false;
		return false;
		}
	document.oncontextmenu = nocontextmenu;
	}


function high(which2)
	{
	theobject=which2
	highlighting=setInterval("highlightit(theobject)",75)
	}
function low(which2)
	{
	clearInterval(highlighting)
	if (which2.style.MozOpacity)
		which2.style.MozOpacity=0.3
	else
	if (which2.filters)
		which2.filters.alpha.opacity=75
	}
function highlightit(cur2)
	{
	if (cur2.style.MozOpacity<1)
		cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
	else
	if (cur2.filters&&cur2.filters.alpha.opacity<100)
		cur2.filters.alpha.opacity+=10
	else
	if (window.highlighting)
		clearInterval(highlighting)
	}

function bms_FotoPopup(plik, tytul, W, H)
	{
	W=W+2;
	H=H+2;
	oknoNazwa=H+H+W+W; 
	L=(screen.availWidth-W)/2; 
	T=(screen.availHeight-H)/2;

	up="<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"
	 + "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\" xml:lang=\"en\">"
	 + "<head>"
	 + "<title>"+tytul+"</title>"
	 + "</head>";

	mid="<body style=\"margin: 0px; padding: 1px;\">\n" 
	+"   <img src=\""; 
	bot="\" style=\"display: block; cursor: hand;\" onclick=\"window.close();\" alt=\""+tytul+"\" />\n</body>\n</html>"; 
	Popup = window.open("",""+oknoNazwa+"","width="+W+",height="+H+",left="+L+",top="+T+", resizable=no, toolbar=no, status=no, scrollbars=no, dialog=yes, modal=yes, dependent=yes"); void(0); 
	Popup.document.open(); 
	Popup.document.write(up+mid+plik+bot); 
	Popup.document.close(); 
	Popup.focus(); 
	}
