
function SendRequest(where, what, ans, loading)
	{
	    var req = mint.Request();
	    req.OnSuccess =
	    function() {
	        $(ans).innerHTML = this.responseText;
	    }
	    req.OnLoading = function() {
	    	if (loading) {
	         document.getElementById(loading).style.display='block';
	          SetOpacity("searchMenuload", 50);
	   	 }
	    }
	    req.SendForm(what, where);
}