function showLoading(message){
if(message == null || message == '' || typeof message == 'undefined'){
message = 'Processing…';
}
$.blockUI({
css: {
border: 'none',
padding: '10px',
backgroundColor: '#09F',
'-webkit-border-radius': '15px',
'-moz-border-radius': '15px',
opacity: .8,
color: '#fff',
top: '10px'
},
// styles for the overlay
overlayCSS:{
backgroundColor: '#CCC',
opacity: 0.6
},
message: '<h1>' + message + '</h1>'
});
}
function closeLoading(){
$.unblockUI();
}