function hide(obj_name)
{
	obj = document.getElementById(obj_name);
	if(obj!=undefined) 
	{
		if(obj.style.display=='block')
			obj.style.display='none';
		else
			obj.style.display='block';
	}
}		
function flash(filename,w,h,kolor) { 

		var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + w + '" height="' + h + '" bgcolor="' + kolor + '">'
		+ '<param name="allowScriptAccess" value="sameDomain" />'
		+ '<param name="movie" value="' + filename + '" /><PARAM NAME=wmode VALUE=transparent><param name="quality" wmode="transparent" value="high" /><param name="scale" value="noscale" />'
		+ '<embed src="' + filename + '" quality="high" wmode="transparent" scale="noscale" width="' + w + '" height="' + h + '" name="xxx" align="middle" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" allowScriptAccess="sameDomain"  bgcolor="' + kolor + '" /><param name=bgcolor value="' + kolor + '" />'
		+ '</object>';

		majorVersion=8;
		minorVersion=8;
//		installinfo='<div style="margin-top: 170px; text-align: center;"><style>body { background: #ffffff; }</style><a href="https://www.macromedia.com/go/getflashplayer" target="_blank" style="font-family: Tahoma; color: #000000; text-decoration: none; font-size: 11px;">Strona wymaga zainstalowanego pluginu<br /><b>Flash Player</b> w wersji 8 lub wyższej.<br/><br/><img src="images/get_flash.jpg" alt="pobierz Flash Playera" border="0" /><br/><br/>Pobierz wtyczkę <strong>Flash Player</strong></a><br /><br /><br />'; 
		installinfo='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + w + '" height="' + h + '" bgcolor="' + kolor + '"><embed src="' + filename + '" quality="high" wmode="transparent" scale="noscale" width="' + w + '" height="' + h + '" name="xxx" align="middle" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" allowScriptAccess="sameDomain"  bgcolor="' + kolor + '" /><param name=bgcolor value="' + kolor + '" />'; 
		if(navigator.product=='Gecko' || navigator.userAgent.indexOf('Opera')!=-1) {
		 if(plugin=navigator.plugins["Shockwave Flash"]) {
		  if(majorVersion > parseInt(plugin.description.substr(plugin.description.indexOf(".")-1, 1))
		  || minorVersion > parseInt(plugin.description.substr(plugin.description.length-2)) )
			document.write(installinfo);
		  else document.write(oeTags);
		 } else {
			document.write(installinfo); 
		 }
		}
		else document.write(oeTags);
		//-->
}

function selecturl(s){
var gourl = s.options[s.selectedIndex].value;
window.top.location.href = gourl;
}


function hideshow(which)
{
if (!document.getElementById|document.all)
	{
	return
	}
else
	{
	if (document.getElementById)
		{
		oWhich = eval ("document.getElementById('" + which + "')")
		}
	else
		{
		oWhich = eval ("document.all." + which)
		}
	}

	window.focus()

	if (oWhich.style.display=="none")
		{
		oWhich.style.display=""
		}
	else
		{
		oWhich.style.display="none"
		}
}
//end IE 4+ And NS6 dHTML Outlines
function initoutlineExpandible()
{
hideshow('outlineChild1')


}