var xmlHttp

function showHint(str, str2, str3, str4, str5, str6, str7, str8, str9, str10, str11, str17, str12, str13, str14, str15, str16)
{
if (str.length==0)
  { 
  document.getElementById("txtHint").innerHTML="";
  return;
  }

if (str2.length==0)
  { 
  document.getElementById("txtHint").innerHTML="";
  return;
  }
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="kepeslap_megrendeles_minta.php";
url=url+"?q="+str;
url=url+"&r="+str2;
url=url+"&s="+escape(str3);
url=url+"&t="+escape(str4);
url=url+"&u1="+str5;
url=url+"&u2="+str6;
url=url+"&u3="+str7;
url=url+"&u4="+str8;
url=url+"&u5="+str9;
url=url+"&bor="+str10;
url=url+"&ures="+str11;
url=url+"&cim1="+escape(str12);
url=url+"&cim2="+escape(str13);
url=url+"&cim3="+escape(str14);
url=url+"&cim4="+escape(str15);
url=url+"&cim5="+str16;
url=url+"&szm="+str17;
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;
}
