		  function overTab (element) {
		  		element.style.backgroundColor = '#CC9966';
		  		//element.style.fontSize = '10';
		  		//element.style.color = 'white';
		  		element.style.borderStyle = 'solid';
		  		element.style.borderColor = '#cc6633';
		  		element.style.borderLeftWidth = '10';
		  }
		  
		  function outTab (element) {
		  		element.style.backgroundColor = '#DEBE9E';
		  		element.style.fontSize = '11';
		  		element.style.color = '#663300';
		  		element.style.borderStyle= 'solid';
		  		element.style.borderColor = '#cc6633';
		  		element.style.borderLeftWidth = '1';
		  }

		  // funkcje podswietlania dla kadry	
 		  function overTabP (element) {	
		  		element.style.backgroundColor = '#FFCC99';
		  }
		  
		  function outTabP (element) {
		  		element.style.backgroundColor = 'transparent';
		  }

function otworzOkno (adres, nazwa, rozmiar) {
	nazwa = window.open(adres, nazwa, rozmiar);
}			

function otworzObrazek (opath, owidth, oheight) {
	var wosir_path = 'http://www.uwm.edu.pl/wosir/';
	var obrazekOkno = document.open(wosir_path+'blank.html', 'obrazek', 'width='+owidth+', height='+oheight);
	var sMarkup = '<html><head><title>Galeria</title></head>';
	sMarkup += '<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><img src="'+wosir_path+opath+'" alt="'+opath+'" border="0" onclick="self.close()" /></body></html>';
	obrazekOkno.document.write(sMarkup);
}
		  
function loadImages() {
		 if (document.images) {
		 	b81 = new Image
			b91 = new Image
		 	b82 = new Image
			b92 = new Image
		 	b83 = new Image
			b93 = new Image
		 	b84 = new Image
			b94 = new Image
		 	b85 = new Image
			b95 = new Image
		 	b86 = new Image
			b96 = new Image
		 	b87 = new Image
			b97 = new Image
			m31 = new Image
			m41 = new Image			
			m32 = new Image
			m42 = new Image			
			m33 = new Image
			m43 = new Image			
			m34 = new Image
			m44 = new Image			
			m35 = new Image
			m45 = new Image

		 	b81.src = 'images/81.png'
		 	b91.src = 'images/91.png'
		 	b82.src = 'images/82.png'
		 	b92.src = 'images/92.png'
		 	b83.src = 'images/83.png'
		 	b93.src = 'images/93.png'
		 	b84.src = 'images/84.png'
		 	b94.src = 'images/94.png'
		 	b85.src = 'images/85.png'
		 	b95.src = 'images/95.png'
		 	b86.src = 'images/86.png'
		 	b96.src = 'images/96.png'
		 	b87.src = 'images/87.png'
		 	b97.src = 'images/97.png'
		 	m31.src = 'images/31.png'
		 	m41.src = 'images/41.png'
		 	m32.src = 'images/32.png'
		 	m42.src = 'images/42.png'
		 	m33.src = 'images/33.png'
		 	m43.src = 'images/43.png'
		 	m34.src = 'images/34.png'
		 	m44.src = 'images/44.png'
		 	m35.src = 'images/35.png'
		 	m45.src = 'images/45.png'
		 }
}
  		  
		  function pictChange (pictName, newPict) {
		  	if (document.images) {
			   document[pictName].src = eval (newPict + ".src")
			}
		  }

		function go2 (where) {
			document.location.href=where
		}		  