function ShowAdult(mainurl, status)
{
	if("show" == status)
	{
		window.location = mainurl + "showadult.html";
	}
	else if("hide" == status)
	{
		window.location = mainurl + "hideadult.html";
	}
}

// Poprawiona przezroczystość w plikach PNG
    // by MaV

    function poprawPNG() {
        var divs = document.getElementsByTagName('DIV');
       
        for(var i=0; i<divs.length; i++) {

            var div = divs[i];
            var back = eval('div.currentStyle.backgroundImage');
            if(back.indexOf(".png") != -1) {
                div.style.backgroundImage = 'none';
                div.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + back.substring(5, back.length-2) + "', sizingMethod='scale')";
            }           

        }
    }

    if(window.attachEvent) {
        window.attachEvent('onload', poprawPNG);
    }
    
    
    function Show(pDiv) 
			{
				obj1 = document.getElementById(pDiv);
				obj2 = document.getElementById(pDiv + 'a');
				obj1.style.display = 'block';
				obj2.style.display = 'none';
				return false;
			}
			
			function Hide(pDiv) 
			{
				obj1 = document.getElementById(pDiv);
				obj2 = document.getElementById(pDiv + 'a');
				obj1.style.display = 'none';
				obj2.style.display = 'block';
				return false;
			}
