$(document).ready(function() {
	if(location.hash){
		getData(location.hash.substring(1));
	}
	$("#loadingAjax").hide();

    $("#loadingAjax").ajaxStart(function(){
       $(this).show();
   }).ajaxStop(function(){
       $(this).hide();
   });
});
function getData(arg){
	location.hash = arg;
	current_loc = location.hash;
	$.get("archnews.php",{ id:arg},function(data){
		$("#news").html(data);
 	});


}
