
	function otworz(adres) {
	noweOkno = window.open(adres, 'Podgl¹d');
	} 


	function Usun(id)
	{
	if(confirm('Czy napewno usun±æ ten wpis?' )){window.location='index.php?akcja=usun&id='+id} else {return false;}
	}  
	
	function getPageHeight()
	{
    var windowHeight;
    if (self.innerHeight) {    // all except Explorer
        windowHeight = self.innerHeight;
    } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
        windowHeight = document.documentElement.clientHeight;
    } else if (document.body) { // other Explorers
        windowHeight = document.body.clientHeight;
    }   
    return windowHeight;
	}
	
	function getPageWidth()
	{
    var windowWidth;
    if (self.innerHeight) {    // all except Explorer
        windowWidth = self.innerWidth;
    } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
        windowWidth = document.documentElement.clientWidth;
    } else if (document.body) { // other Explorers
        windowWidth = document.body.clientWidth;
    }   
    return windowWidth;
	}	
	
	function ukryj() 
	{
		img=document.getElementById('obrazek');
		img.src="";
		obj=document.getElementById('obrazek_tabela');
		obj.style.display="none";
	}


	
	function ukryj_kategorie()
	{
		obj=document.getElementById('kategorie_div');
		obj.style.display="none";	
	}

