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";
}

function plussize(id)
{
	document.getElementById(id).style.fontSize = '13px';
	document.cookie = 'fontsize=13px;';
}

function minussize(id)
{
	document.getElementById(id).style.fontSize = '10px';
	document.cookie = 'fontsize=10px;';
}

function normalsize(id)
{
	document.getElementById(id).style.fontSize = '11px';
	document.cookie = 'fontsize=11px;';
}

function getfontsize(id)
{
	a = document.cookie;
	cookval = a.substring(9,13,a.search('='));
	document.getElementById(id).style.fontSize = cookval;
}
