function ajaxload(url, params, id, loadimg){
	if(loadimg == undefined) loadimg = true;
	$.ajax({
      type: "GET",
      url: url,
	  data: params,
	  beforeSend: function(){
     	if(loadimg == true) $("#"+id).html("<img src=\"/images/workblack.gif\" alt=\"loading\" />");
	   },
      success: function (data) {
		//$("#"+id).css({ display:"none"}).fadeIn(1500);
		$("#"+id).html(data);
      },
      error: function (xmlhttp) {
		if(xmlhttp.status != 0) {
	        $("#"+id).html('An HTTP error '+ xmlhttp.status +' occured.\n');
		   }
      }
    });
}