
$(document).ready(function()
{
  $("#loading").bind("ajaxSend", function() {
    $(this).show();
 	}).bind("ajaxComplete", function() {
  $(this).hide();
 	});
})

function loadAJAX(file,object) {
  $("#"+object).load(file);
  return file;
  return object;
}