var xmlHttp
/* --------------------------------------------------- */
function GetXmlHttpObject()
{
	var xmlHttp=null;
	try
 	{
 		xmlHttp=new XMLHttpRequest();
 	}
	catch(e)
 	{
 		try
  		{
  			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
  		}
 		catch(e)
  		{
  			xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
  		}
 	}
	return xmlHttp;
}
/* --------------------------------------------------- */
function ActiveHTML(file,output,option)
{
	xmlHttp=GetXmlHttpObject() 
	var url="xmlHttp/"+file+".php?OPTION="+option
	url=url+"&sid="+Math.random()
	xmlHttp.onreadystatechange=function(){HTMLOutput(output);}
	xmlHttp.open("GET",url,true)
	xmlHttp.send(null)
}
/* --------------------------------------------------- */
function HTMLOutput(output) 
{ 
	if(xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 	{ 
 		document.getElementById(output).innerHTML=xmlHttp.responseText;
 	}
}
/* --------------------------------------------------- */
function Fenster(datei,x,y) 
{ 
  window.open(datei,'','width='+x+',height='+y+',scrollbars=yes,resizable=yes') 
}
