.pageloading {
height: 40px;
position: absolute;
top: 50%;
color: white;
left: 50%;
line-height: 12px;
background: #000;
opacity: 0.7;
z-index: 9999;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
border-radius: 20px;
}
$("#loading").modal('show');
$("#loading").modal('hide');