// Functon to Show out Busy Div
function showBusy(id){
	id.block({
		message: '<div class="busy">&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;</div>',
		css: { 
			border: 'none',
			backgroundColor: null,
			opacity: 1
		}
	});
}

// Functon to Hide out Busy Div
function hideBusy(id){
	id.unblock();
}


// Function to Update a Div
updateDiv = function(id, url) {
	var id = $(id);

	$.ajax({
		url: url,
		type: "GET",
		dataType: "html",
		beforeSend: function(){
			showBusy(id);
		},
		success: function(data) {
			//window.setTimeout( function(){
				id.html(data);
			//}, 4000)
		}
	});
}

