function checkResponse() {

	if (xmlHttp.readyState == 4) {
		var response = xmlHttp.responseText;

		if (response == 1) {
			checkQuery();
		}
	}

}
