// JavaScript Document

function clickThru(id) {

	if (window.XMLHttpRequest) {
		xmlhttp = new XMLHttpRequest();
	}
	else {
		xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
	}
	
	xmlhttp.onreadystatechange=function() {
		if (xmlhttp.readyState ==4 && xmlhttp.status == 200) {
		}
	}

	xmlhttp.open("GET","eureka_click_thru.php?cid="+id,true);
	xmlhttp.send(null);			
}

function clickCounter(id, path) {

	if (window.XMLHttpRequest) {
		xmlhttp = new XMLHttpRequest();
	}
	else {
		xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
	}
	
	xmlhttp.onreadystatechange=function() {
		
		if (xmlhttp.readyState ==4 && xmlhttp.status == 200) {
		}
	}
	

	xmlhttp.open("GET",path+"eureka_click_counter.php?cid="+id,true);
	xmlhttp.send(null);			
}

