var Fives = {};
Fives.utils = {};
Fives.item = {};
Fives.image = {};
Fives.document = {};

Fives.utils.getId = function(object){
	var reg=new RegExp("_", "g");
	var id = object.attr('id').split(reg);
	return id[id.length -1];
}

jQuery.ajaxSetup({
	beforeSend:function(){
		$('#loading').show();
	},
	complete:function(){
		$('#loading').hide();
	},
	success:function(){
		$('#loading').hide();
	}
}); 