function validateCaptcha(param)
{
	var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
catch (e)
  {
// Internet Explorer
		  try
   			{
   				httpxml=new ActiveXObject("Msxml2.XMLHTTP");
    		}
  			catch (e)
    				{
    	  try
      		{
      		httpxml=new ActiveXObject("Microsoft.XMLHTTP");
     		}
    		catch (e)
      		{
      		alert("Your browser does not support AJAX!");
      		return false;
      		}
    		}
  }
function stateck() 
    {
	if (httpxml.readyState==3 || httpxml.readyState==2 || httpxml.readyState==1)
	{ 
		//document.getElementById("displaycombinationcategory").innerHTML='Please Wait Loading..';	
	}
    if(httpxml.readyState==4)
    {	
		if(httpxml.responseText == "invalid")
		{
			document.getElementById("displayValidateCaptcha").innerHTML='';	
			document.getElementById("feedback_code").style.borderColor = '#ff0000';
			document.getElementById("feedback_code").focus();
			return false;
		}
	}
}
	
var url="microCaptcha/validateCaptcha.php";
url=url+"?param="+param;
httpxml.onreadystatechange=stateck;
httpxml.open("GET",url,true);
httpxml.send(null);
}

