function do_click_ajax(strpURL) {
    var xmlHttpReq = false;
    var self = this;
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        self.xmlHttpReq = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) {
        self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
    }
    self.xmlHttpReq.open('GET', strpURL, true);
    self.xmlHttpReq.onreadystatechange = function() {

    }
    self.xmlHttpReq.send(strpURL);
}


function clckx(id){

	strpURL='/clicks.html?id='+id+'&d=t';
	return do_click_ajax(strpURL);

}



function submit_form(){
	var form_q=document.search_form.q.value;
		if(form_q.length<=2){
			alert("C'mon, you've got to enter something longer than two letters in the search box.");
			return false;
		}else{
			var loc='/search/?q='+escape(form_q);
			window.location=loc;
			return false;
		}
}

function check_right_click(){
		if (event.button==2){ 
			return true;
		}else{
			return false;
		}
}