var LoadetPages=new Array();
function oeffnen(url, width, height) 
	{
	var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=no,menubar=no,status=no');
	}
function in_ary(needle,haystack)
{
	for(var i in haystack)
	{
		if(needle==haystack[i]) return true;
	}
	return false;
}
function LoadContent(id)
	{
	setContentsInvisible();
	if(in_ary(id,LoadetPages))
		{
		document.getElementById(id).style.display='';
		}
	else
		{
		PreloadFrame.location.href='DynamicIndexReload.php?KK=' + id;
		LoadetPages.push(id);
		}
	}

