function getHTTPObject() {
if (typeof XMLHttpRequest != 'undefined') {
return new XMLHttpRequest();
}
try {
return new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
return new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {}
}
return false;
}

var http = getHTTPObject();

function handleHttpResponse() {

if (http.readyState == 4) {
	var temp = http.responseText;
document.getElementById("PHPDATA").innerHTML=temp;
setTimeout("startTimer()",10000);
hides();
}
}
function LoadData(){
	
		nos = Math.random()*1;
		var url = "wp-content/themes/fx/bot.php?r="+nos;
//document.getElementById("PHPDATA").innerHTML='<img align="absmiddle" src="http://192.168.1.5:8080/shujaat/project/wp-content/themes/default/images/calendar-loader.gif" />';
http.open("GET", url, true);
http.onreadystatechange = handleHttpResponse;
http.send(null);
}
function hides()
{

	//var a = document.getElementById("ec");
	//a.rows[4].childNodes[2].style.display='none';
	
}
