var xmlHttpForum
function showHintForum(str)
{
if (str.length==0)
  { 
  document.getElementById("txtHint").innerHTML=""
  return
  }
xmlHttpForum=GetXmlHttpObjectF()
if (xmlHttpForum==null)
  {
  alert ("Browser does not support HTTP Request")
  return
  } 
var url="http://www.filmempfehlung.com/forumsearch.php"
url=url+"?q="+str
url=url+"&sid="+Math.random()
xmlHttpForum.onreadystatechange=stateChangedF
xmlHttpForum.open("GET",url,true)
xmlHttpForum.send(null)
} 
function stateChangedF()
{ 


     if(xmlHttpForum.readyState == 0)
     {
     document.getElementById("txtHint").innerHTML = "<div style='padding: 0px; margin: 0px; width: 778px; height: 15px; background-image: url(http://www.filmempfehlung.com/_bilder/oben.png); background-position: bottom;'></div><div style='text-align: center; background-color: #fff;'>Suche wird durchgeführt...<br /><br /><img src='http://www.filmempfehlung.com/_bilder/loading.png' alt='Wird geladen...' /></div><div style='padding: 0px; margin: 0px 0px 25px; width: 778px; height: 15px; background-image: url(http://www.filmempfehlung.com/_bilder/unten.png); background-position: top;'></div>";
     }
     else if(xmlHttpForum.readyState == 1)
     {
     document.getElementById("txtHint").innerHTML = "<div style='padding: 0px; margin: 0px; width: 778px; height: 15px; background-image: url(http://www.filmempfehlung.com/_bilder/oben.png); background-position: bottom;'></div><div style='text-align: center; background-color: #fff;'>Suche wird durchgeführt...<br /><br /><img src='http://www.filmempfehlung.com/_bilder/loading.png' alt='Wird geladen...' /></div><div style='padding: 0px; margin: 0px 0px 25px; width: 778px; height: 15px; background-image: url(http://www.filmempfehlung.com/_bilder/unten.png); background-position: top;'></div>";
     }
     else if(xmlHttpForum.readyState == 2)
     {
     document.getElementById("txtHint").innerHTML = "<div style='padding: 0px; margin: 0px; width: 778px; height: 15px; background-image: url(http://www.filmempfehlung.com/_bilder/oben.png); background-position: bottom;'></div><div style='text-align: center; background-color: #fff;'>Suche wird durchgeführt...<br /><br /><img src='http://www.filmempfehlung.com/_bilder/loading.png' alt='Wird geladen...' /></div><div style='padding: 0px; margin: 0px 0px 25px; width: 778px; height: 15px; background-image: url(http://www.filmempfehlung.com/_bilder/unten.png); background-position: top;'></div>";
     }
     else if(xmlHttpForum.readyState == 3)
     {
     document.getElementById("txtHint").innerHTML = "<div style='padding: 0px; margin: 0px; width: 778px; height: 15px; background-image: url(http://www.filmempfehlung.com/_bilder/oben.png); background-position: bottom;'></div><div style='text-align: center; background-color: #fff;'>Suche wird durchgeführt...<br /><br /><img src='http://www.filmempfehlung.com/_bilder/loading.png' alt='Wird geladen...' /></div><div style='padding: 0px; margin: 0px 0px 25px; width: 778px; height: 15px; background-image: url(http://www.filmempfehlung.com/_bilder/unten.png); background-position: top;'></div>";
     } 
     
     
else if (xmlHttpForum.readyState==4 || xmlHttpForum.readyState=="complete")
 { 
 document.getElementById("txtHint").innerHTML=xmlHttpForum.responseText
 } 
     

}
function GetXmlHttpObjectF()
{
var xmlHttpForum=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttpForum=new XMLHttpRequest();
 }
catch (e)
 {
 // Internet Explorer
 try
  {
  xmlHttpForum=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttpForum=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttpForum;
}


