function ajax(b,a,d){var e=null,c=window.location.pathname.toLowerCase();if(b.indexOf("/")<0){e=c+(c.lastIndexOf("/")==c.length-1?"":"/")+(c.indexOf(".aspx")<0?"Default.aspx/":"")+b}else{e=b}$.ajax({type:"POST",url:e,data:JSON.stringify(!a?{}:a),dataType:"json",headers:{"Content-Type":"application/manifold+json"},success:d})}var loading=null;$(function(){$(":button").button();loading=$("#siteLoading, #siteLoadingBackground")});
