function doLoad(force) {
	var query = '' + document.getElementById('searchInput').value;
    var req = new Subsys_JsHttpRequest_Js();
    req.onreadystatechange = function() {
    	if (req.readyState == 4) {
    		if (req.responseJS) {
//        		document.getElementById('searchResults').innerHTML = (req.responseJS.q||'');
        		document.getElementById('searchResults1').innerHTML = (req.responseJS.q1||'');
        	}
//      	document.getElementById('debug').innerHTML = req.responseText;
    	}
	}
	req.caching = true;
		req.open('POST', 'load.php', true);
	req.send({ qq: query });
}

var timeout = null;

function doLoadUp() {
	if (timeout) { clearTimeout(timeout); }
    timeout = setTimeout(doLoad, 350);
}
    
//function blockA(e) {
////		document.getElementById('q2').value='';
//     	doLoadUp();
//}
//	document.onkeypress = blockA;
//	document.onkeyup = blockA;
