// JavaScript Document
function scrollcon(){
	document.getElementById("scrollcon").style.top = "0px";
	document.getElementById("scrollcon").style.left = "0px";
}

function changeState0(){
	document.getElementById("toindex").firstChild.style.color = "#000000";
}
function changeState1(){
	if(actDoc !== "index"){
		document.getElementById("toindex").firstChild.style.color = "#ffffff";
	}
}


function stats(qdata,rPath){
	var req;
 	try {
		req = window.XMLHttpRequest ? new XMLHttpRequest(): new ActiveXObject("Microsoft.XMLHTTP");
	} catch (e) {
	}
	req.onreadystatechange = typeof callback == 'function' ? callback : function(){
		//if(req.readyState == 4 && req.status == 200) resdata(req.responseText);
	};
	req.open("POST", rPath+"inc/techcheck.inc.php", false);
	req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	req.send(qdata);
	return false;
}
