<!-- 
//Browser Support Code
function vote(){
	var ajaxRequest;  // The variable that makes Ajax possible!
	var vote = arguments[0];
	var post_id = arguments[1];
	var divje = arguments[2];
	
	try{
		// Opera 8.0+, Firefox, Safari
		ajaxRequest = new XMLHttpRequest();
	} catch (e){
		// Internet Explorer Browsers
		try{
			ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try{
				ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e){
				// Something went wrong
				alert("Your browser broke!");
				return false;
			}
		}
	}
	// Create a function that will receive data sent from the server
	ajaxRequest.onreadystatechange = function(){
		if(ajaxRequest.readyState == 4){
			
			//var div_id = 'ajaxDiv_' + post_id;
			var div_id = 'ajaxDiv_3';
			//alert (div_id);
			//alert(divje);
			var ajaxDisplay = document.getElementById(divje);
			ajaxDisplay.innerHTML = ajaxRequest.responseText;
		}
	}
	
	// get vars from arguments
	
	var queryString = "?vote=" + vote + "&post_id=" + post_id;
	ajaxRequest.open("GET", "../vote.php" + queryString, true);
	ajaxRequest.send(null); 
	timedRefresh(400);
}

function agecheck(){
	var ajaxRequest;  // The variable that makes Ajax possible!
	
	try{
		// Opera 8.0+, Firefox, Safari
		ajaxRequest = new XMLHttpRequest();
	} catch (e){
		// Internet Explorer Browsers
		try{
			ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try{
				ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e){
				// Something went wrong
				alert("Your browser broke!");
				return false;
			}
		}
	}
	// Create a function that will receive data sent from the server
	ajaxRequest.onreadystatechange = function(){
		if(ajaxRequest.readyState == 4){
			var div_id = 'ajaxDiv_4';
			var ajaxDisplay = document.getElementById(div_id);
			ajaxDisplay.innerHTML = ajaxRequest.responseText;
		}
	}
	
	// get vars from arguments
	//alert ("sdsdsd");
	
	ajaxRequest.open("GET", "../age_check.php");
	ajaxRequest.send(null);
	timedRefresh(200);
}

function timedRefresh(timeoutPeriod) {
	setTimeout("location.reload(true);",timeoutPeriod);
}
//-->