beforeSend : function() { http.setRequestHeader("Content-type:text/html", "charset=windows-1251"); },