function strpos (haystack, needle, offset) {
	var i = (haystack+'').indexOf(needle, (offset || 0));
	return i === -1 ? false : i;
}

var url = "antibot.php";
var what = "LogStatus(req.responseText)";

function Anti()
{
	DoCallback("cod=1");
}

function LogStatus(Status)
{
	pos1 = strpos(Status,';',0);
	message = Status.substring(0,pos1);
	document.getElementById('antibot').innerHTML = message;
}

Anti();
