function showResult(){
	//document.getElementById("affil").style.display = "none";
	if(affilState){
		affil();
	}
	var str = document.forms["search-form"].keyword.value;
	if(document.forms["search-form"].caseset == undefined){
		var caseset = "false";
	}else{
		var caseset = document.forms["search-form"].caseset.checked;
	}
	xmlhttp = GetXmlHttpObject();
	document.getElementById("results").innerHTML="Searching...";
	//document.forms["search-form"].searchBtn.disabled = true;
	if(str.length < 3){
		document.getElementById("results").innerHTML="Search to small.";
		//document.forms["search-form"].searchBtn.disabled = false;
		return;
	}
	if(xmlhttp==null){
		alert("Your browser does not support XML HTTP Request(this wont work)");
		return;
	}
	var url="http://dev.ameoto.com/search.php?keyword="+str+"&caseset="+caseset+"&js&sid="+Math.random();
	xmlhttp.open("GET",url,true);
	xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	xmlhttp.send(null);
	xmlhttp.onreadystatechange = function (){ 
		if(xmlhttp.readyState==4){
			document.getElementById("results").innerHTML = '<span style="float:right;margin-right:6px;"><a href="javascript:ReverseDisplay(\'results\'); document.getElementById(\'affil\').style.display = \'block\';" style="background-color:#A3080C;padding:1px;-webkit-border-radius: 2px;-moz-border-radius: 2px;">close</a></span>'+xmlhttp.responseText;
			window.setTimeout(function (){
				//document.forms["search-form"].searchBtn.disabled = false;
			}, 500);
		}
	};
	//url = "http://www.play-asia.com/__api__.php?query=listing&instock=1&mask=nl&compatible=8&keyword="+str+"&results=10&key=ebefd6f9591fdfcc8eddf6aaa3d69ff0&user=27";
}