function show(id) {
	
	document.getElementById(id).style.display = 'block';
	
}
function hide(id) {
	
	document.getElementById(id).style.display = 'none';
	
}

function submitform()
{
	document.getElementById("checkbots").value = "adium";
	document.forms["contact"].submit();
}


function doStats()
{
    if (window.XMLHttpRequest)
         xhr_object = new XMLHttpRequest();
	else if (window.ActiveXObject)
		xhr_object = new ActiveXObject("Microsoft.XMLHTTP");		
    else
		return(false);	

	xhr_object.open("GET", "/ajax/stats.php", false);
	xhr_object.send(null);
	if (xhr_object.readyState == 4)
	{
		location.href="/contact.php";
	}
		location.href="/contact.php?from=page_cb";
}
