function expandSearch(){
	var obj = document.getElementById("search");
	obj.style.height = "75px";
}

function normalSearch(){
	var obj = document.getElementById("search");
	obj.style.height = "40px";
}

function addClick(id){
	var url = "/addclick.php?id="+id;
	
	if(window.XMLHttpRequest) {
		req = new XMLHttpRequest();
	} else if(window.ActiveXObject) {
		req = new ActiveXObject("Microsoft.XMLHTTP");
	}
	
	// Use get instead of post.
	req.open("GET", url, true);
	
	req.setRequestHeader("X-Requested-With", "XMLHttpRequest");
	req.send(null);
}
