function win(pdata, psize) 
{
	var daten = psize.split("=");
	var width = daten[1].split(",");
	var fenster_b = width[0];
	var fenster_h = daten[2];
	var sh = screen.height;
	var sb = screen.width;
	var offX = (sb-fenster_b)/2;
	var offY = (sh-fenster_h)/2;
	var popupwin;	

	popupwin = window.open(pdata, '', psize+",left="+offX+",top="+offY,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resize=no');

	if (window.focus) 
	{
		popupwin.focus();
    	}
}

function open_close(part)
{
	for (var i = 0; i < 10; i++)
	{
	  var obj = document.getElementById(part+i);
	  
	  if(obj) obj.style.display = (obj.style.display == "none") ? "" : "none";	  
	}
}


function href(select)
{  
	var hrefurl = select.options[select.options.selectedIndex].value;
	location.href = hrefurl;
}

function show_nav(id)
{
	var button = document.getElementById(id);
	button.style.display = "block";
	
}

function hide_nav(id)
{
	var button = document.getElementById(id);
	button.style.display = "none";
}